:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#18263d;background:#f3f6fa;font-synthesis:none;font-size:16px;--ink:#14233b;--muted:#64748b;--line:#dce3ed;--accent:#087f6c;--red:#a9233c}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button{border:1px solid transparent;border-radius:10px;padding:11px 17px;font-weight:600;background:var(--ink);color:white;min-height:44px}button:hover:not(:disabled){background:#253d60}button.secondary{background:white;color:var(--ink);border-color:var(--line)}button.secondary:hover:not(:disabled){background:#f1f5f9}button.danger{background:#fff2f4;color:var(--red);border-color:#f5c8d0}button.small{font-size:.875rem;padding:8px 12px;min-height:38px}input,select,textarea{display:block;width:100%;border:1px solid #bdc9d9;border-radius:9px;padding:11px 12px;color:var(--ink);background:#fff;min-height:44px}input:focus,textarea:focus,select:focus{border-color:var(--accent)}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2364748b' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;padding-right:36px}input[type=checkbox]{display:inline-block;width:19px;height:19px;min-height:0;margin:0 9px 0 0;vertical-align:middle;accent-color:var(--accent)}textarea{min-height:100px;resize:vertical}label{display:block;font-size:.875rem;font-weight:600;margin:0 0 7px}h1,h2,h3,p{margin:0}h1{font-size:2rem;line-height:1.18;letter-spacing:-.04em}h2{font-size:1.25rem;letter-spacing:-.02em}h3{font-size:1.05rem}p{line-height:1.6}.muted{color:var(--muted)}.smalltext{font-size:.875rem}.brand{display:flex;align-items:center;gap:12px;letter-spacing:.09em;font-weight:750;font-size:1.15rem}.brand img{width:38px;height:38px}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100dvh}.sidebar{background:var(--ink);color:#fff;display:flex;flex-direction:column;padding:28px 20px;gap:38px}.sidebar .brand{padding:0 8px}.nav{display:grid;gap:6px}.nav button{text-align:left;background:transparent;color:#b8c6db;font-size:.95rem;border-radius:9px;padding:12px}.nav button.active,.nav button:hover{background:#263953;color:white}.sidebar-footer{margin-top:auto;padding:0 9px;font-size:.875rem;color:#9faec6;line-height:1.65}.workspace{min-width:0}.topbar{height:88px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:18px}.topbar-title{color:var(--muted);font-size:.95rem}.profile{display:flex;align-items:center;gap:14px}.profile-info{text-align:right}.profile-role{font-size:.875rem;color:var(--muted);margin-top:3px}.content{padding:38px 40px;max-width:1440px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head p{color:var(--muted);margin-top:10px}.eyebrow{color:var(--accent);font-size:.8rem;letter-spacing:.13em;font-weight:750;margin-bottom:12px;text-transform:uppercase}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px;display:flex;flex-direction:column;min-width:0}.app-card{min-height:230px;gap:18px}.app-icon{width:48px;height:48px;border-radius:12px;background:#e9f5f1;color:var(--accent);display:grid;place-items:center}.app-icon svg{height:25px;width:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-card p{font-size:.95rem;color:var(--muted)}.app-card h2{font-size:1.15rem}.card-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:9px}.tag{display:inline-block;font-size:.8rem;padding:5px 9px;border-radius:6px;background:#edf1f7;color:#52647e;line-height:1.4}.tag.green{background:#e4f5ee;color:#087553}.tag.red{background:#fff0f2;color:var(--red)}.notice{border:1px solid #cfe1ec;background:#eaf3f8;border-radius:12px;padding:17px 20px;margin:0 0 25px;line-height:1.6;font-size:.95rem}.notice.warm{background:#fff8e9;border-color:#eedfb9;color:#70521c}.notice.success{background:#eaf7ef;border-color:#c7e5d2;color:#24603f}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{margin-bottom:18px}.field:last-child{margin-bottom:0}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:22px}.stack{display:grid;gap:20px}.two-col{display:grid;grid-template-columns:minmax(300px,1fr) minmax(320px,1.1fr);gap:24px;align-items:start}.section-title{margin-bottom:20px}.error{color:var(--red);background:#fff0f3;padding:12px;border-radius:8px;margin-top:16px;line-height:1.5;font-size:.9rem}.result{margin-top:18px}.hidden{display:none!important}.auth-screen{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,1fr);min-height:100dvh;background:#fff}.auth-aside{background:var(--ink);color:white;padding:48px 60px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-aside:after{content:"";position:absolute;width:650px;height:650px;border:1px solid #ffffff12;border-radius:50%;right:-350px;bottom:-300px;box-shadow:0 0 0 90px #ffffff04,0 0 0 180px #ffffff03}.auth-aside h1{font-size:clamp(2.5rem,4vw,4rem);max-width:520px;line-height:1.06}.auth-aside p{color:#b6c6dc;max-width:420px;margin-top:25px;font-size:1.05rem}.auth-aside .eyebrow{color:#6bd7b8}.auth-note{font-size:.875rem;color:#8ea5c4}.auth-main{padding:60px 40px;display:flex;align-items:center;justify-content:center}.auth-form{width:100%;max-width:420px}.auth-form h2{font-size:1.8rem;margin-bottom:12px}.auth-form>.muted{margin-bottom:30px}.auth-form button[type=submit]{width:100%}.auth-form .actions button{width:auto}.auth-link{margin-top:20px;font-size:.875rem}.empty{padding:36px;text-align:center;background:#fff;border:1px dashed #bfcbdc;border-radius:14px;color:var(--muted)}.checkline{display:flex;gap:8px;align-items:center;line-height:1.5;font-weight:400;margin:10px 0}.permission-group{border:1px solid var(--line);border-radius:10px;padding:13px 15px;margin:10px 0}.permission-group strong{font-size:.9rem}.permission-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}.permission-actions label{font-weight:400;font-size:.8rem;display:flex;align-items:center;margin:0}.permission-actions input{width:16px;height:16px}.entry{border:1px solid var(--line);border-radius:12px;padding:18px;background:#fff}.entry+.entry{margin-top:13px}.entry-head{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:10px}.entry p{font-size:.9rem;color:var(--muted)}.entry-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.qr{width:240px;height:240px;max-width:100%;display:block;margin:12px 0}.secret{font-family:ui-monospace,Consolas,monospace;word-break:break-all;background:#f1f5f9;border-radius:8px;padding:12px;font-size:.95rem;user-select:all}.steps{padding-left:22px;line-height:1.8;color:var(--muted);font-size:.9rem}.steps li+li{margin-top:9px}#toast{position:fixed;bottom:24px;right:24px;background:var(--ink);color:#fff;padding:14px 20px;border-radius:11px;box-shadow:0 8px 35px #10223b25;max-width:400px;display:none;z-index:5}.loading{padding:70px;color:var(--muted)}.help{font-size:.875rem;line-height:1.6;color:var(--muted);margin-top:7px}.flexline{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.divider{border:0;border-top:1px solid var(--line);margin:24px 0}@media(max-width:1200px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.content,.topbar{padding-left:28px;padding-right:28px}}@media(max-width:780px){.shell{grid-template-columns:1fr}.sidebar{padding:18px 20px;gap:18px}.sidebar .brand{padding:0}.nav{display:flex;flex-wrap:wrap;gap:5px}.nav button{font-size:.8rem;padding:9px}.sidebar-footer{display:none}.topbar{height:76px;padding:0 20px}.topbar-title{display:none}.profile{width:100%;justify-content:space-between}.profile-info{text-align:left}.content{padding:27px 20px}.grid{grid-template-columns:1fr}.page-head{align-items:start}h1{font-size:1.7rem}.auth-screen{grid-template-columns:1fr}.auth-aside{padding:25px 24px;gap:25px}.auth-aside h1{font-size:2rem}.auth-aside p,.auth-note{display:none}.auth-main{padding:35px 24px}.form-grid{grid-template-columns:1fr}.two-col{grid-template-columns:1fr}.card{padding:20px}.profile-info strong{font-size:.95rem}.actions{align-items:stretch}.actions button{flex-grow:1}}
