:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#173c2d;background:#f2f8f4}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:
radial-gradient(circle at 15% 88%,rgba(143,181,119,.16),transparent 28%),
radial-gradient(circle at 88% 18%,rgba(178,204,161,.16),transparent 30%),
linear-gradient(135deg,#f9fbf7 0%,#f0f7ef 55%,#eef5e9 100%);display:grid;place-items:center}
body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.32;background-image:
linear-gradient(120deg,transparent 0 48%,rgba(105,151,122,.05) 48.2% 48.5%,transparent 48.7%),
linear-gradient(35deg,transparent 0 70%,rgba(105,151,122,.04) 70.2% 70.5%,transparent 70.7%)}
.login-shell{width:min(720px,calc(100% - 28px));padding:28px 0 22px;text-align:center;position:relative;z-index:1}
.login-brand{margin-bottom:18px}.login-brand h1{margin:8px 0 0;font-size:38px;letter-spacing:.08em;font-weight:500;color:#17472f}.login-brand p{margin:2px 0;color:#799278;font-size:20px}
.login-card{background:rgba(255,255,255,.91);border:1px solid rgba(121,160,130,.18);border-radius:24px;padding:28px;box-shadow:0 18px 55px rgba(46,78,59,.13);backdrop-filter:blur(12px)}
.login-card h2{font-size:17px;margin:0 0 22px;color:#315b49;font-weight:700}
.login-users{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:520px;margin:0 auto 20px}
.login-user{position:relative;min-height:218px;border:1px solid #d9e4dd;border-radius:18px;background:#fff;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;color:#203c31;transition:.18s ease}
.login-user:hover{border-color:#aecab7;background:#fbfdfb}.login-user.selected{border:2px solid #79a85c;background:#f4f8ec;box-shadow:0 7px 18px rgba(88,129,74,.12)}
.login-user strong{font-size:27px;margin-top:10px}.login-user small{font-size:14px;color:#7c887f;margin-top:2px}
.login-user-check{position:absolute;bottom:12px;width:24px;height:24px;border-radius:50%;display:none;place-items:center;background:#78a75c;color:white;font-style:normal;font-weight:800}.login-user.selected .login-user-check{display:grid}
.login-user-icon{width:88px;height:88px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #e2eae5;box-shadow:0 5px 15px rgba(60,93,72,.08)}
.login-user-icon.admin svg{width:66px;height:66px;fill:#f2f7f3;stroke:#668173;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.login-user-icon.admin svg circle{fill:#718d7e;stroke:none}.login-user-icon.admin svg path:not(:first-child){stroke:#fff;fill:none}
.login-lily{display:block;width:54px;height:66px;position:relative;margin:auto;background:
radial-gradient(ellipse at 63% 25%,#fff 0 8%,#d8e5d9 9% 10%,transparent 11%),
radial-gradient(ellipse at 73% 40%,#fff 0 8%,#d8e5d9 9% 10%,transparent 11%),
radial-gradient(ellipse at 67% 56%,#fff 0 8%,#d8e5d9 9% 10%,transparent 11%),
linear-gradient(65deg,transparent 47%,#4c8b52 48% 51%,transparent 52%)}
.login-lily:before,.login-lily:after{content:"";position:absolute;background:linear-gradient(145deg,#77a95e,#377d4a);border-radius:80% 0 80% 0;transform-origin:bottom}
.login-lily:before{width:20px;height:48px;left:10px;bottom:2px;transform:rotate(-28deg)}.login-lily:after{width:18px;height:43px;right:9px;bottom:0;transform:rotate(34deg) scaleX(-1)}
.login-lily.large{width:82px;height:99px;transform:scale(1.25)}
.login-form{max-width:520px;margin:0 auto;display:grid;gap:14px;text-align:left}.login-form>label{font-size:13px;font-weight:700;color:#475b50}
.password-wrap{height:52px;margin-top:7px;border:1px solid #cedbd3;border-radius:12px;background:white;display:flex;align-items:center;overflow:hidden;transition:.15s}.password-wrap:focus-within{border-color:#79aa81;box-shadow:0 0 0 3px rgba(87,147,105,.1)}
.password-wrap input{flex:1;height:100%;border:0;outline:0;padding:0 15px;background:transparent;font-size:18px;color:#203e31}.password-eye{width:48px;height:100%;border:0;background:transparent;color:#778a7f;font-size:16px;cursor:pointer}.password-eye.visible{color:#357654}
.login-submit{height:52px;border:0;border-radius:12px;background:linear-gradient(180deg,#82ae68,#699b50);color:white;font-weight:800;font-size:16px;cursor:pointer;box-shadow:0 5px 12px rgba(83,129,68,.18)}.login-submit:disabled{opacity:.55;cursor:wait}
.login-error{color:#a64545;background:#fff2f2;border-radius:10px;padding:9px 12px;text-align:center;font-size:13px}
.login-persist{margin:18px 0 0;color:#718078;font-size:12px}.login-persist span{margin-right:7px;color:#456c58}
.setup-head{display:flex;align-items:center;gap:14px;text-align:left;margin-bottom:22px}.setup-head .login-lily{margin:0;width:42px;height:50px;flex:none}.setup-head h2{margin:0 0 3px}.setup-head p{margin:0;color:#79877f;font-size:13px}
.setup-form{gap:16px}.setup-label{display:flex;align-items:center;gap:5px}.mini-lily{width:12px;height:16px;border-radius:8px 0 8px 0;background:#5a9564;transform:rotate(-25deg)}.mini-admin{font-style:normal;color:#58766a}
.login-shell footer{margin-top:18px;color:#93a19a;font-size:11px;letter-spacing:.12em}
@media(max-width:620px){.login-shell{width:min(100% - 20px,480px);padding:20px 0}.login-brand{margin-bottom:12px}.login-brand h1{font-size:30px}.login-brand p{font-size:16px}.login-lily.large{transform:scale(.95);margin-bottom:-6px}.login-card{padding:18px 14px;border-radius:20px}.login-users{gap:10px}.login-user{min-height:170px;padding:14px 8px;border-radius:15px}.login-user-icon{width:68px;height:68px}.login-user-icon.admin svg{width:51px;height:51px}.login-user .login-lily{transform:scale(.82)}.login-user strong{font-size:22px}.login-user small{font-size:12px}.login-form{max-width:none}.password-wrap,.login-submit{height:50px}}


/* v0.872 – login polish + konvalinka background */
body{position:relative;overflow-x:hidden;background:
radial-gradient(circle at 12% 84%,rgba(143,181,119,.18),transparent 28%),
radial-gradient(circle at 86% 18%,rgba(178,204,161,.16),transparent 32%),
linear-gradient(135deg,#fbfcf8 0%,#f1f8f2 52%,#edf5ea 100%);}
body:before{opacity:.22;background-image:
linear-gradient(122deg,transparent 0 48%,rgba(94,139,110,.055) 48.1% 48.55%,transparent 48.9%),
linear-gradient(35deg,transparent 0 72%,rgba(94,139,110,.045) 72.1% 72.45%,transparent 72.8%);
filter:blur(.15px);}
body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.12;
background:
url('/static/konvalinka-favicon.svg') center 11%/min(32vw,280px) auto no-repeat,
radial-gradient(circle at 78% 12%,rgba(255,255,255,.85),transparent 30%),
radial-gradient(circle at 20% 100%,rgba(131,171,118,.16),transparent 26%);
filter:drop-shadow(0 18px 44px rgba(74,116,90,.10));}
.login-shell{width:min(760px,calc(100% - 28px));}
.login-brand{margin-bottom:20px;position:relative;z-index:1;}
.login-card{background:rgba(255,255,255,.92);box-shadow:0 22px 60px rgba(46,78,59,.13);border-color:rgba(121,160,130,.20)}
.login-users{max-width:560px;gap:18px;align-items:stretch;}
.login-user{min-height:228px;padding:22px 18px 20px;justify-content:flex-start;gap:8px;}
.login-user:hover{transform:translateY(-1px);box-shadow:0 9px 20px rgba(88,129,74,.08)}
.login-user.selected{box-shadow:0 10px 24px rgba(88,129,74,.14)}
.login-user strong{font-size:26px;line-height:1.05;margin-top:8px;}
.login-user small{display:block;max-width:118px;min-height:34px;line-height:1.25;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:14px;}
.login-user-icon{flex:none;}
.login-user-check{bottom:14px;}
.login-persist{margin-top:20px;}
@media(max-width:620px){
  body:after{background:url('/static/konvalinka-favicon.svg') center 10%/150px auto no-repeat,radial-gradient(circle at 80% 10%,rgba(255,255,255,.82),transparent 30%),radial-gradient(circle at 18% 100%,rgba(131,171,118,.14),transparent 26%);opacity:.11;}
  .login-shell{width:min(100% - 18px,500px);}
  .login-card{padding:18px 14px 16px;}
  .login-users{gap:12px;max-width:none;}
  .login-user{min-height:184px;padding:16px 10px 18px;gap:6px;}
  .login-user strong{font-size:22px;}
  .login-user small{font-size:12px;max-width:92px;min-height:30px;}
}
