:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#1a2927;background:#e7eae3;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}.shell{max-width:520px;margin:0 auto;min-height:100vh;background:#f5f5ef;box-shadow:0 18px 70px #0b292321}.masthead{height:82px;padding:0 25px;display:flex;align-items:center;gap:11px;background:#102a27;color:#fff}.brand-mark{width:40px;height:40px;border:1px solid #82af98;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:white}.brand-mark img{width:100%;height:100%;object-fit:cover}.eyebrow,.detail-brand{font-size:9px;font-weight:800;letter-spacing:.22em;color:#9ab8a8}.brand{font-family:Georgia,serif;font-size:21px;font-weight:700;letter-spacing:.04em;line-height:1}.brand span{color:#99d3b4}.header-dot{margin-left:auto;width:8px;height:8px;border-radius:50%;background:#b6dfb6;box-shadow:0 0 0 4px #b6dfb62a}.hero{padding:29px 27px 0;min-height:310px;background:#102a27;color:#fff;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:260px;height:260px;border:1px solid #8fbba526;border-radius:50%;right:-105px;top:-50px;box-shadow:0 0 0 35px #8fbba50d,0 0 0 75px #8fbba507}.hero-kicker{position:relative;z-index:1;display:flex;gap:10px;align-items:center;color:#9bbda9;font-size:10px;font-weight:800;letter-spacing:.19em}.line{width:19px;height:1px;background:#abd0b5}.hero h1{font-family:Georgia,serif;font-size:42px;font-weight:400;line-height:1.09;letter-spacing:-.045em;margin:20px 0 12px;position:relative;z-index:1}.hero h1 span{color:#b8d994}.hero p{font-size:13px;line-height:1.55;color:#bdd0c4;max-width:270px;margin:0;position:relative;z-index:1}.hero-meta{height:62px;margin-top:22px;border-top:1px solid #ffffff26;display:flex;align-items:center;gap:9px;color:#afc6b6;font-size:12px;position:relative;z-index:1}.hero-meta #count{color:#fff;font-family:Georgia,serif;font-size:25px}.meta-arrow{margin-left:auto;font-size:20px;color:#b9d5ba}.tabs{display:flex;gap:7px;padding:19px 20px 14px;overflow:auto;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{border:1px solid #d8ddd4;background:transparent;color:#52635d;border-radius:100px;padding:10px 13px;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}.tab.active{background:#163a32;border-color:#163a32;color:#fff}.list{padding:0 20px 28px}.section-label{display:flex;justify-content:space-between;align-items:center;color:#697a70;font-size:10px;letter-spacing:.13em;font-weight:800;margin:8px 3px 12px}.article-card{width:100%;display:block;text-align:left;border:1px solid #e3e7df;border-radius:16px;background:#fff;padding:18px 18px 16px;margin:0 0 10px;box-shadow:0 5px 18px #163a3209;cursor:pointer}.card-top{display:flex;align-items:center;gap:8px}.card-id{font-size:10px;font-weight:800;letter-spacing:.11em;color:#87958c}.status{font-size:10px;font-weight:800;border-radius:100px;padding:6px 9px;margin-left:auto}.status.pending{background:#edf1dc;color:#596b2c}.status.changes{background:#fae9dd;color:#9b5429}.status.approved{background:#e1f1e6;color:#266649}.status.rejected{background:#f6e4e1;color:#a3443c}.article-card h2{font-family:Georgia,serif;font-size:22px;font-weight:400;line-height:1.18;margin:15px 0 9px;color:#17342d}.excerpt{font-size:12px;line-height:1.5;color:#728078;margin:0 0 17px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-foot{border-top:1px solid #eef0eb;padding-top:13px;display:flex;align-items:center;gap:8px;color:#89968c;font-size:11px}.tiny-icon{width:18px;height:18px;border-radius:5px;background:#edf3ed;display:grid;place-items:center;color:#386350}.card-foot strong{margin-left:auto;color:#2c5a46;font-size:18px;font-weight:400}.empty{padding:36px 18px;text-align:center;color:#718177;font-size:13px;line-height:1.5}.notice{position:fixed;z-index:10;bottom:24px;left:50%;transform:translateX(-50%);max-width:460px;width:calc(100% - 32px);padding:13px 16px;background:#1b3a32;color:#fff;border-radius:12px;box-shadow:0 15px 30px #0003;font-size:12px}.detail-wrap{position:fixed;inset:0;z-index:5;background:#e7eae3;overflow:auto}.detail-sheet{max-width:520px;min-height:100vh;margin:auto;background:#f8f8f3}.detail-top{height:70px;padding:0 22px;background:#102a27;display:flex;align-items:center;justify-content:space-between}.back{border:0;background:none;color:#fff;font-size:24px;cursor:pointer;display:flex;gap:7px;align-items:center}.back span{font-size:12px;font-weight:700}.detail-brand{font-size:8px}.detail-head{background:#102a27;color:white;padding:12px 24px 29px}.detail-head .status{margin:0}.detail-head h2{font-family:Georgia,serif;font-size:35px;font-weight:400;line-height:1.12;letter-spacing:-.03em;margin:18px 0 12px}.detail-head p{color:#a9c0b1;font-size:11px;margin:0}.detail-body{padding:22px}.detail-section{margin-bottom:25px}.detail-section h3{font-size:10px;letter-spacing:.16em;color:#718277;text-transform:uppercase;margin:0 0 12px}.paper{background:#fff;border:1px solid #e6ebe3;border-radius:14px;padding:19px;color:#354b42;font-size:14px;line-height:1.65;white-space:pre-wrap;min-height:150px}.paper.muted{color:#93a097;font-style:italic}.photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.photo-grid img{display:block;width:100%;aspect-ratio:1.3;object-fit:cover;border-radius:10px;background:#dfe7df}.upload{display:flex;justify-content:center;align-items:center;min-height:112px;border:1px dashed #9fb7a5;border-radius:10px;color:#3d6b51;font-size:12px;font-weight:700;cursor:pointer;text-align:center;padding:10px;background:#eff4eb}.upload input{display:none}.field{display:block;width:100%;min-height:180px;border:1px solid #ccd9cd;border-radius:12px;padding:14px;font:13px/1.5 inherit;resize:vertical;background:white;color:#20362d}.button{width:100%;border:0;border-radius:11px;padding:14px 16px;margin-top:10px;background:#1a513d;color:white;font-size:12px;font-weight:800;cursor:pointer}.button.secondary{background:#e9eee5;color:#24513b}.button.danger{background:#f4e7e2;color:#9c463b}.file-row{display:flex;gap:10px;align-items:center;padding:14px;background:#e9eee8;border-radius:10px;color:#37614c;font-size:12px;overflow-wrap:anywhere}.file-row span:first-child{font-size:20px}.note{background:#fff4eb;border-left:3px solid #c78e63;padding:12px;font-size:12px;line-height:1.5;color:#7d4c34;border-radius:0 8px 8px 0}.actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.actions .button{margin-top:0}.actions .wide{grid-column:1/-1}.hint{font-size:11px;line-height:1.5;color:#89988e;margin:8px 0 0}@media(max-width:370px){.hero h1{font-size:37px}.detail-head h2{font-size:30px}.tabs{padding-left:14px;padding-right:14px}.list{padding-left:14px;padding-right:14px}}
/* Mobile interaction refinements */
.tab{min-height:44px;padding:11px 15px;font-size:13px}
.notice{top:calc(env(safe-area-inset-top, 0px) + 12px);bottom:auto;z-index:20}
.detail-body{padding-bottom:calc(34px + env(safe-area-inset-bottom, 0px))}
.button{min-height:46px;line-height:1.25}
.button:disabled{opacity:.55;cursor:wait}
button:focus-visible,.upload:focus-within{outline:3px solid #88bd95;outline-offset:2px}
.decision-box{margin-top:12px;border:1px solid #d7e2d7;background:#fff;border-radius:14px;padding:17px;color:#254333}
.decision-box strong{display:block;font-family:Georgia,serif;font-size:20px;font-weight:500}
.decision-box p{font-size:12px;line-height:1.5;color:#65796c}
.decision-box .field{min-height:110px;margin-bottom:12px}
.decision-box .button{margin-top:0}
.pdf-frame{width:100%;height:65vh;min-height:400px;border:1px solid #d7e2d7;border-radius:10px;margin-top:12px;background:#fff}
.original-text{max-height:55vh;overflow:auto;font:13px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;margin-top:12px}
.detail-head h2:focus{outline:none}
.photo-item{margin:0;border:1px solid #e1e8de;background:#fff;border-radius:10px;overflow:hidden}
.photo-item img{border-radius:0}
.photo-item figcaption{padding:9px 10px 2px;color:#304e3d;font-size:12px;line-height:1.35;font-weight:700}
.photo-item small{display:block;padding:0 10px 8px;color:#76877b;font-size:10px;line-height:1.35}
.photo-edit{border:0;border-top:1px solid #edf1e9;background:#fff;color:#35694d;width:100%;min-height:36px;font-size:11px;font-weight:700;cursor:pointer}
.photo-upload-fields{display:grid;gap:8px;margin:10px 0}
.photo-field{width:100%;min-height:42px;border:1px solid #cbd9cd;border-radius:9px;background:#fff;color:#213b2f;padding:9px 11px;font:12px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.photo-edit-panel{padding:8px;display:grid;gap:8px}
.photo-edit-panel .actions .button{font-size:11px;padding:8px}
.editor-actions{padding:14px 20px 0;background:#f5f5ef}.editor-actions .button{margin:0;font-size:14px}.editor-actions [hidden]{display:none}.form-label{display:block;margin:20px 0 8px;color:#526b5a;font-size:12px;font-weight:800}.detail-body form .hint{margin-top:12px}
@media(max-width:600px){.masthead{height:72px}.hero{min-height:265px;padding-top:23px}.hero h1{font-size:36px;margin:17px 0 10px}.hero-meta{margin-top:17px;height:55px}}

/* Рабочая очередь остаётся видна на первом экране. */
.masthead{height:64px}
.hero{min-height:0;padding:15px 22px 0}
.hero h1{font-size:27px;line-height:1.08;margin:10px 0 6px}
.hero p{max-width:none;font-size:12px}
.hero-meta{height:42px;margin-top:10px}
.hero-meta #count{font-size:22px}
.hero:after{width:160px;height:160px;right:-85px;top:-55px}
.tabs{padding-top:12px;padding-bottom:9px}
.editor-actions{padding-top:10px}
.article-card{transition:transform .18s ease,box-shadow .18s ease}
.article-card:active{transform:scale(.985)}
.card-thumbnail{display:block;width:100%;height:120px;object-fit:cover;border-radius:10px;margin-top:12px;background:#e8eee8}
.card-thumbnail[hidden]{display:none}
.excerpt-label{font-size:9px;font-weight:800;letter-spacing:.12em;color:#68806c;margin:10px 0 5px}
.excerpt{margin-bottom:12px}
.detail-wrap:not([hidden]) .detail-sheet{animation:sheet-in .2s ease-out both}
.notice:not([hidden]){animation:notice-in .18s ease-out both}
@keyframes sheet-in{from{opacity:.75;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes notice-in{from{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:600px){.masthead{height:64px}.hero{min-height:0;padding-top:15px}.hero h1{font-size:27px;margin:10px 0 6px}.hero-meta{height:42px;margin-top:10px}}
@media(prefers-reduced-motion:reduce){.article-card{transition:none}.detail-wrap:not([hidden]) .detail-sheet,.notice:not([hidden]){animation:none}}
.shell[hidden],.expert-home[hidden]{display:none}
.editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.editor-actions .button{margin:0}
.editor-actions #new-article{grid-column:1/-1}
.editor-actions .secondary{font-size:11px;padding:10px 8px}
.expert-home{padding:0 20px 32px}
.expert-head{margin:0 -20px 18px;padding:25px 22px 22px;background:#102a27;color:#fff}
.expert-head .eyebrow{margin-bottom:10px}
.expert-head h1{font:normal 32px/1.08 Georgia,serif;margin:0 0 8px}
.expert-head p{font-size:12px;color:#bdd0c4;margin:0;line-height:1.5}
.expert-list{margin-top:18px}
.expert-item{width:100%;text-align:left;background:#fff;border:1px solid #e3e7df;border-radius:14px;padding:17px;margin:0 0 9px;color:#17342d;cursor:pointer}
.expert-item strong{display:block;font:normal 22px/1.2 Georgia,serif;margin:9px 0}
.expert-item small{display:block;color:#718177;font-size:11px}
.expert-item .status{margin:0}
.expert-photo{width:100%;max-height:280px;object-fit:contain;background:#edf2ed;border-radius:10px}
.expert-photo-row{margin:12px 0 18px}
.expert-photo-row p{font-size:12px;color:#365543;margin:5px 0}
.expert-photo-row small{color:#718177}
.invite-link{overflow-wrap:anywhere;background:#edf3ed;padding:12px;border-radius:10px;font-size:12px}
