:root{color-scheme:light;--ink:#182e2a;--muted:#526963;--green:#106453;--line:#e0e9e5;--bg:#f3f7f5;--white:#fff;--radius:18px;font-family:'Segoe UI',system-ui,sans-serif;background:var(--bg);color:var(--ink);line-height:1.5}
*,*::before,*::after{box-sizing:border-box}body{margin:0}body,button,input{font-size:1rem}button,input{font-family:inherit}button{cursor:pointer}a{color:var(--green)}[hidden]{display:none!important}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #15876d;outline-offset:4px}
.sidebar{position:fixed;inset:0 auto 0 0;width:228px;display:flex;flex-direction:column;padding:30px 19px 24px;background:#fff;border-right:1px solid var(--line);z-index:1}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:750;font-size:1.28rem;letter-spacing:-.055em;padding:0 7px}.brand small,.side-bottom small{font-size:.79rem;font-weight:500;display:block;color:var(--muted);letter-spacing:normal}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;background:#116754;color:#fff;font-size:1.45rem;line-height:1}.sidebar nav{display:grid;gap:5px;margin-top:36px}.sidebar nav a{display:flex;gap:13px;align-items:center;padding:11px 13px;border-radius:11px;text-decoration:none;color:#485f58;font-size:.92rem;font-weight:600;white-space:nowrap}.sidebar nav a:hover,.sidebar nav a[aria-current]{background:#e8f4ee;color:#0a5b48}.side-bottom{border-top:1px solid var(--line);margin-top:auto;padding:18px 2px 0;display:flex;gap:9px;align-items:baseline;color:var(--ink);font-size:.79rem;font-weight:700}.status-dot{width:7px;height:7px;flex:none;background:#72a897;border-radius:50%}
main{margin-left:228px;min-height:100vh}.topbar{height:73px;border-bottom:1px solid var(--line);background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 34px}.workspace{display:flex;align-items:center;gap:10px;font-weight:650;min-width:0}.workspace>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{display:grid;place-items:center;background:#e4f1eb;color:#136853;font-weight:750;border-radius:50%;width:31px;height:31px;flex:none}.content{max-width:1320px;margin:auto;padding:29px 34px 55px}.hero{position:relative;overflow:hidden;display:flex;align-items:center;min-height:315px;padding:34px 43px;border-radius:24px;background:radial-gradient(ellipse at 94% 92%,#297f69 0%,transparent 39%),linear-gradient(112deg,#153f38,#135b50);color:white;isolation:isolate}.hero::before,.hero::after{content:'';position:absolute;border:1px solid #b1ead329;border-radius:50%;z-index:-1;right:-8%;width:54%;aspect-ratio:1;top:-34%}.hero::after{right:-12%;top:-44%;width:63%}.hero-body{position:relative;z-index:1}.hero-kicker{display:flex;align-items:center;gap:8px;font-weight:650;font-size:.86rem;color:#c4eadc;margin-bottom:15px}.hero-kicker span{width:7px;height:7px;border-radius:50%;background:#8cddbd}.hero h1{margin:0;font-size:clamp(2.4rem,4.5vw,4rem);line-height:.99;letter-spacing:-.057em;text-wrap:balance}.hero p{color:#d9eee7;max-width:440px;margin:17px 0 21px;text-wrap:pretty}.hero-art{position:absolute;right:8%;top:13%;width:215px;height:239px;opacity:.95;pointer-events:none}.paper{width:139px;height:184px;position:absolute;border-radius:15px;box-shadow:0 18px 30px #0b302c4d;border:1px solid #d5f3e8aa}.paper-back{transform:rotate(16deg);background:linear-gradient(138deg,#74b5a5,#abddc8);right:10px;top:24px}.paper-front{transform:rotate(-10deg);background:linear-gradient(143deg,#f1fff7,#c9e9dd);color:#207260;left:23px;top:32px;padding:24px}.paper-front>span{display:grid;place-items:center;background:#d4ece3;border-radius:9px;width:34px;height:34px;font-size:1.28rem;margin-bottom:15px}.paper-front>i{display:block;height:5px;border-radius:5px;background:#7eb4a4;margin-top:11px;width:90%}.paper-front>i:last-of-type{width:63%}.paper-check{display:grid;place-items:center;background:#a6e5cb;color:#195a4b;border:4px solid #e5f7ef;border-radius:50%;width:46px;height:46px;position:absolute;right:-12px;bottom:7px;font-size:1.5rem;font-weight:750}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;padding:9px 14px;font-weight:680;font-size:.89rem;line-height:1.25;text-decoration:none;white-space:nowrap;min-height:42px}.primary{background:#106453;color:#fff}.primary:hover{background:#0b5143}.secondary{background:#fff;border-color:#dce6e1;color:var(--ink)}.secondary:hover{background:#edf6f1}.hero-button{background:#e4f7ed;color:#16493d;padding-inline:17px}.hero-button:hover{background:#fff}.count{display:grid;place-items:center;background:#e7f2ed;color:#106453;min-width:24px;height:24px;padding:1px 5px;border-radius:8px;font-size:.81rem}.section-header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:33px 0 17px}.section-header h2,.page-intro h1{margin:0;font-size:1.8rem;letter-spacing:-.045em}.section-header p,.page-intro p{margin:4px 0 0;color:var(--muted)}.result-count{color:var(--muted);font-size:.88rem;white-space:nowrap}.catalog-tools{display:flex;justify-content:space-between;gap:12px;margin-bottom:17px}.filters{display:flex;flex-wrap:wrap;gap:5px}.filters button{border:1px solid var(--line);border-radius:9px;background:#fff;padding:8px 13px;color:var(--muted);font-weight:650;font-size:.88rem}.filters button[aria-pressed=true]{background:#deefe6;color:#105d4b;border-color:#cee6d9}.filters button:hover{border-color:#8ebead}.search{display:flex;gap:9px;align-items:center;min-width:220px;width:26%;border:1px solid var(--line);background:#fff;border-radius:10px;padding:0 12px;color:#59726a}.search:focus-within{border-color:#78a99a}.search input{border:0;background:transparent;outline:none;min-width:0;width:100%;padding:8px 0;font-size:.88rem;color:var(--ink)}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.card,.folder,.source,.profile-form,.monitor{background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.card{padding:17px;display:flex;flex-direction:column;min-height:204px;box-shadow:0 2px 6px #153f3806}.card:hover{border-color:#bad7cc;box-shadow:0 4px 14px #153f380b}.card-top,.card-footer{display:flex;align-items:center;justify-content:space-between;gap:6px}.type{display:inline-flex;gap:7px;align-items:center;font-weight:700;color:#285e51;font-size:.83rem}.type>i{background-color:#e7f3ed;box-shadow:0 0 0 4px #e7f3ed;margin:4px}.type.sop{color:#4b527f}.type.sop>i{background-color:#ebedf9;box-shadow:0 0 0 4px #ebedf9}.type.waste{color:#815624}.type.waste>i{background-color:#fcf0df;box-shadow:0 0 0 4px #fcf0df}.badge{display:inline-flex;align-items:center;border-radius:7px;padding:3px 7px;font-size:.78rem;font-weight:650;white-space:nowrap}.ready{background:#e7f4ed;color:#1d654d}.planned{background:#eef1f3;color:#4d626b}.card h3{margin:13px 0 6px;line-height:1.2;font-size:1.12rem;letter-spacing:-.023em}.card h3 .text-button{color:inherit;font-size:inherit;text-align:left;font-weight:750}.card p{margin:0 0 14px;color:var(--muted);font-size:.9rem;line-height:1.38}.card-footer{margin-top:auto;flex-wrap:wrap;border-top:1px solid #edf2ee;padding-top:11px}.text-button{border:0;background:none;color:var(--green);font-weight:650;padding:0;font-size:.89rem}.text-button:hover{text-decoration:underline}.add{background:#eaf4ef;color:#145f4e;padding:6px 9px;min-height:32px;font-size:.82rem}.add:hover,.add.added{background:#d9ece3}.empty{grid-column:1/-1;padding:25px;border:1px dashed #9abaae;border-radius:12px;color:var(--muted)}
.page-intro{margin:13px 0 25px;max-width:720px}.page-intro h1{font-size:clamp(2rem,4.5vw,3rem);line-height:1.08;margin-bottom:9px}.folder-list,.source-list{display:grid;gap:11px}.folder-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.folder summary{padding:16px;cursor:pointer;display:flex;gap:13px;align-items:center;list-style:none}.folder summary::-webkit-details-marker{display:none}.folder summary::after{content:'+';margin-left:auto;color:#47796d;font-size:1.4rem}.folder[open] summary::after{content:'−'}.folder-art{width:40px;height:40px;border-radius:11px;background:#e7f3ed;color:var(--green);display:grid;place-items:center;flex:none}.folder small{display:block;color:var(--muted);font-size:.83rem}.folder ul{padding:0 20px 0 40px;margin:0 0 16px;color:var(--muted)}.folder li+li{margin-top:6px}.source,.monitor{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:16px 20px}.source h3,.source p,.monitor p{margin:0}.source h3{font-size:1rem}.source p,.monitor p{color:var(--muted);font-size:.91rem;margin-top:3px}.source a{flex:none;font-weight:650;font-size:.88rem}.monitor{margin:0 0 18px;background:#e5f2eb;border-color:#d5e9df}.profile-form{padding:24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:790px}.profile-form>label{font-weight:670;display:grid;gap:6px}.profile-form input:not([type=checkbox]){width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;color:var(--ink)}.wide{grid-column:1/-1}.profile-form fieldset{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin:0}.profile-form legend{font-weight:670;padding:0 6px}.check-row{display:flex;gap:8px;align-items:center;margin-bottom:7px}.check-row input{accent-color:#166855;width:17px;height:17px}.form-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.muted{color:var(--muted)}.small{font-size:.85rem;margin:0}
dialog{border:1px solid var(--line);border-radius:20px;width:min(610px,calc(100% - 28px));max-height:calc(100% - 28px);padding:0;color:var(--ink);box-shadow:0 15px 65px #11291d40}dialog::backdrop{background:#10282083}.dialog-header,.dialog-footer{display:flex;align-items:center;gap:10px;padding:16px 20px}.dialog-header{justify-content:space-between;border-bottom:1px solid var(--line)}.dialog-header h2{margin:0;font-size:1.43rem;line-height:1.15;letter-spacing:-.035em}.dialog-footer{justify-content:flex-end;flex-wrap:wrap;border-top:1px solid var(--line)}.dialog-content{padding:17px 21px}.dialog-content h3{font-size:1rem;margin-bottom:7px}.dialog-content ul{padding-left:22px;margin-top:0}.close{background:#eef5f1;border:0;border-radius:8px;width:32px;height:32px;flex:none;font-size:1.4rem;color:var(--ink);display:grid;place-items:center}.refs{font-size:.89rem}.pack-list{list-style:none;padding:0!important}.pack-list li{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.flow{display:flex;flex-wrap:wrap;gap:6px}.flow span{background:#e9f3ed;color:#205a4d;border-radius:7px;padding:4px 8px;font-size:.88rem}.toast{position:fixed;bottom:20px;right:20px;background:#143f35;color:#fff;border-radius:10px;padding:10px 15px;z-index:3;box-shadow:0 4px 18px #18382b30;font-size:.9rem}
.icon{display:inline-block;width:15px;height:15px;position:relative;border:1.5px solid currentColor;border-radius:3px;flex:none}.icon-grid::before,.icon-grid::after{content:'';position:absolute;background:currentColor}.icon-grid::before{inset:0 auto 0 5px;width:1px}.icon-grid::after{inset:5px 0 auto;height:1px}.icon-folder{height:11px;margin-top:3px}.icon-folder::before{content:'';position:absolute;left:0;top:-5px;width:7px;height:4px;border:1.5px solid currentColor;border-bottom:0;border-radius:2px 2px 0 0}.icon-source::before,.icon-source::after{content:'';position:absolute;left:3px;right:3px;height:1px;background:currentColor;top:4px}.icon-source::after{top:8px}.icon-profile{border:0}.icon-profile::before,.icon-profile::after{content:'';position:absolute;border:1.5px solid currentColor}.icon-profile::before{width:6px;height:6px;left:4px;border-radius:50%}.icon-profile::after{inset:8px 1px 0;border-radius:6px 6px 2px 2px}.icon-search{width:12px;height:12px;border-radius:50%}.icon-search::after{content:'';position:absolute;bottom:-3px;right:-4px;width:6px;height:1.5px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
@media(max-width:1120px){.hero-art{right:5%;transform:scale(.9)}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.sidebar{width:185px;padding-inline:13px}main{margin-left:185px}.topbar,.content{padding-inline:22px}.hero{padding-inline:29px}.hero-art{right:1%;opacity:.45;transform:scale(.76)}.hero p{max-width:350px}.folder-list{grid-template-columns:1fr}}
@media(max-width:680px){.sidebar{width:auto;position:static;padding:11px 13px 5px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:1.1rem;padding:0}.brand-mark{width:34px;height:34px;border-radius:9px;font-size:1.1rem}.sidebar nav{display:flex;flex-wrap:wrap;gap:2px;margin-top:10px}.sidebar nav a{font-size:.82rem;padding:7px;gap:5px;border-radius:7px}.sidebar nav i,.side-bottom{display:none}main{margin:0}.topbar{height:56px}.topbar,.content{padding-inline:13px}.content{padding-top:14px}.hero{min-height:auto;padding:23px 20px;border-radius:17px}.hero h1{font-size:clamp(2.05rem,8.5vw,3.35rem)}.hero-art{display:none}.section-header{margin-top:23px}.section-header h2{font-size:1.48rem}.catalog-tools{flex-wrap:wrap}.search{width:100%}.catalog-grid{gap:9px}.card{padding:12px}.profile-form{grid-template-columns:1fr;padding:15px}.source{align-items:flex-start;flex-direction:column}.pack-button i{display:none}}
@media(max-width:436px){.catalog-grid{grid-template-columns:1fr}.card{min-height:173px}.monitor{align-items:flex-start}.monitor .badge{white-space:normal}.topbar .button{min-height:37px;padding:6px 9px}}
.site-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;border-top:1px solid var(--line);padding:13px clamp(13px,4vw,34px);color:var(--muted);font-size:.83rem}.site-footer p{margin:0}
