:root{--plum:#633052;--plum-dark:#46243d;--pink:#ad347d;--lime:#d3df4a;--blue:#36a6cc;--bg:#f6f6f9;--ink:#282635;--muted:#787481;--line:#e9e6ed;--green:#258066;--shadow:0 4px 24px #2c173407;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:3px solid var(--blue)}button{cursor:pointer;border:0;background:none;color:inherit}a{color:var(--plum)}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-1px;font-weight:650;margin-bottom:8px}h2{font-size:18px;font-weight:650;letter-spacing:-.3px}h3{font-size:15px}.muted{color:var(--muted)}.tiny{font-size:11px}.small{font-size:12px}.loading{padding:20vh 10vw}.shell{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);padding:28px 17px;position:fixed;width:242px;height:100vh;display:flex;flex-direction:column;z-index:10}.logo{width:153px;height:auto;display:block}.brand{padding:0 19px 22px;border-bottom:1px solid var(--line)}.brand p{margin:12px 0 0;font-size:10px;text-transform:uppercase;letter-spacing:2.1px;color:var(--muted)}.nav-label{font-size:10px;letter-spacing:1.6px;color:#a09aa6;margin:26px 14px 12px;font-weight:650}.nav-button{width:100%;text-align:left;display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:9px;color:#77717e;margin-bottom:5px;font-size:13px}.nav-button.active{background:#f5eaf2;color:var(--plum);font-weight:650}.nav-button:hover{background:#f7f3f7}.nav-button .count{margin-left:auto;background:var(--plum);color:white;padding:2px 6px;border-radius:4px;font-size:10px}.sidebar-bottom{margin-top:auto;padding:18px 13px 0;border-top:1px solid var(--line)}.workspace{grid-column:2;min-width:0}.topbar{height:80px;background:#ffffffed;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:18px}.crumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:10px}.top-actions{display:flex;align-items:center;gap:20px}.avatar{display:grid;place-items:center;background:#f2e6ef;color:var(--plum);width:36px;height:36px;border-radius:50%;font-size:12px;font-weight:700}.profile{display:flex;gap:10px;align-items:center}.profile p{margin:0;font-size:12px}.icon-btn{padding:8px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid var(--line);background:white;position:relative}.unread{position:absolute;top:4px;right:4px;background:var(--pink);width:6px;height:6px;border-radius:50%}.main{padding:32px 34px 45px;max-width:1600px;margin:auto}.pagehead{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:16px}.pagehead p{margin:0;color:var(--muted);font-size:13px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:7px;background:var(--plum);color:white;font-weight:550;font-size:12px;white-space:nowrap;border:1px solid var(--plum)}.btn:hover{background:var(--plum-dark)}.btn.secondary{background:white;color:var(--ink);border-color:var(--line)}.btn.danger{background:#a63748;border-color:#a63748}.btn.small{padding:7px 10px;font-size:11px}.btn svg{width:16px;height:16px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hero{border-radius:13px;overflow:hidden;background:linear-gradient(90deg,#532941f7 0%,#60324fec 50%,#63305255 100%),url('hospital.jpg') right center/cover;min-height:174px;padding:30px 32px;color:white;position:relative;margin-bottom:25px}.hero .eyebrow{color:#ead5e4;font-size:10px;letter-spacing:1.8px;text-transform:uppercase;margin-bottom:15px}.hero h2{font-size:25px;letter-spacing:-.6px;margin-bottom:10px}.hero p{color:#ecdfE8;font-size:12px;max-width:440px;line-height:1.7;margin-bottom:0}.hero-pill{position:absolute;right:28px;bottom:29px;display:flex;gap:7px;align-items:center;border-radius:25px;border:1px solid #ffffff50;padding:9px 13px;background:#ffffff16;font-size:11px}.dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:var(--lime)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:20px;box-shadow:var(--shadow)}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.stat-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#f4ecf2;color:var(--plum)}.stat:nth-child(2) .stat-icon{background:#fdf0e9;color:#c8824d}.stat:nth-child(3) .stat-icon{background:#eaf5f1;color:var(--green)}.stat:nth-child(4) .stat-icon{background:#edf4fa;color:var(--blue)}.stat strong{display:block;font-size:31px;font-weight:650;margin:8px 0 5px;letter-spacing:-1px}.stat small{font-size:10px;color:var(--muted)}.grid-main{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:23px}.card{background:white;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:23px}.card-head{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.card-head h2{margin:0;font-size:15px}.card-head p{font-size:11px;color:var(--muted);margin:5px 0 0}.card-body{padding:22px}.text-link{font-size:11px;color:var(--plum);font-weight:600}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#8a8390;background:#fcfbfd;padding:13px 19px;font-weight:600}td{padding:16px 19px;border-top:1px solid #f0edf2;font-size:12px;vertical-align:middle}td .title-button{font-size:12px;font-weight:600;color:#38313e;padding:0;text-align:left;white-space:normal;max-width:330px;line-height:1.5}td small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:550;padding:5px 8px;border-radius:5px;background:#f1edf4;color:#75627f;white-space:nowrap}.badge.open{background:#eef1fc;color:#6b78b2}.badge.in-progress{background:#fff4e3;color:#ba8734}.badge.completed,.badge.verified,.badge.pass{background:#eaf5ee;color:#38876b}.badge.blocked,.badge.critical,.badge.concern{background:#fcebed;color:#bb4e65}.badge.high{color:#bf7747;background:#fff0e6}.badge.medium{color:#7d6ea2;background:#f1edfa}.badge.low{color:#6e8392;background:#edf3f5}.badge.cancelled{background:#eee;color:#777}.priority-dot{width:5px;height:5px;background:currentColor;border-radius:50%}.overdue{color:#be5269!important}.round-preview{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:flex-start}.round-preview:last-child{border:0}.round-icon{padding:10px;border-radius:9px;background:#f6eff5;color:var(--plum)}.round-preview h3{font-size:12px;margin:1px 0 7px}.round-preview p{font-size:10px;margin:0 0 8px;color:var(--muted)}.department-row{display:flex;align-items:center;gap:10px;margin-bottom:17px;font-size:11px}.department-row:last-child{margin:0}.department-row span:first-child{width:100px}.bar{flex:1;height:5px;background:#f3eef4;border-radius:8px;overflow:hidden}.bar i{display:block;height:100%;background:var(--pink);border-radius:8px}.bar.w0 i{width:0}.bar.w10 i{width:10%}.bar.w20 i{width:20%}.bar.w30 i{width:30%}.bar.w40 i{width:40%}.bar.w50 i{width:50%}.bar.w60 i{width:60%}.bar.w70 i{width:70%}.bar.w80 i{width:80%}.bar.w90 i{width:90%}.bar.w100 i{width:100%}.notice{padding:12px 16px;background:#faf5e6;border:1px solid #eee4bc;border-radius:8px;color:#8c793f;font-size:11px;line-height:1.7;margin-bottom:20px}.filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}.filters input{min-width:200px;flex:1}.filters select{width:auto;min-width:135px}input,select,textarea{border:1px solid #dfdbe4;border-radius:7px;padding:11px 12px;background:white;color:var(--ink);width:100%;font-size:12px}textarea{min-height:90px;resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid #d6b4ce;outline-offset:0;border-color:var(--plum)}label{display:block;font-size:12px;font-weight:550;color:#62576b;margin-bottom:16px}label input,label select,label textarea{margin-top:7px;font-weight:400}label .help{display:block;font-weight:400;font-size:10px;color:var(--muted);margin-top:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.full{grid-column:1/-1}.tabs{display:flex;gap:5px;margin-bottom:22px;border-bottom:1px solid var(--line);overflow:auto}.tab{padding:13px 18px;font-size:12px;white-space:nowrap;color:var(--muted);border-bottom:2px solid transparent}.tab.active{color:var(--plum);border-color:var(--plum);font-weight:600}.empty{padding:45px 25px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.empty svg{display:block;width:30px;height:30px;margin:0 auto 12px;color:#baa8ba}.round-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.round-card{background:white;border:1px solid var(--line);border-radius:10px;padding:23px;display:flex;flex-direction:column}.round-card h3{font-size:16px;margin:18px 0 8px}.round-card p{color:var(--muted);font-size:12px;line-height:1.8}.round-card footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:17px;border-top:1px solid var(--line)}.kanban{display:grid;grid-template-columns:repeat(5,minmax(225px,1fr));gap:15px;overflow:auto;align-items:start}.column{background:#eeeaf1;border-radius:9px;padding:12px;min-height:250px}.column h3{font-size:12px;padding:5px 3px 12px;margin:0}.task-card{background:white;padding:16px;border:1px solid var(--line);border-radius:8px;margin-bottom:11px}.task-card h3{font-size:12px;line-height:1.6;padding:12px 0}.task-card p{font-size:10px;color:var(--muted);line-height:1.7}.task-card footer{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.login{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh;background:white}.login-art{background:linear-gradient(145deg,#48273bea,#623250b8),url('hospital.jpg') center/cover;padding:8vw 6vw;color:white;display:flex;flex-direction:column;justify-content:space-between}.login-art h1{font-size:clamp(36px,4vw,60px);line-height:1.1;max-width:500px;letter-spacing:-2px}.login-art h1 span{color:#dfeb90}.login-art p{color:#e8dce4;line-height:1.9;font-size:14px;max-width:370px}.login-art .eyebrow{text-transform:uppercase;letter-spacing:3px;font-size:10px;color:#d9c3d3;margin-bottom:30px}.login-form{padding:50px;display:flex;align-items:center;justify-content:center}.login-form-inner{width:100%;max-width:360px}.login-form .logo{width:180px;margin-bottom:42px}.login-form h2{font-size:27px;margin-bottom:10px}.login-form p{color:var(--muted);line-height:1.7;font-size:13px}.login-form form{margin-top:28px}.login-form .btn{width:100%;padding:13px}.error{font-size:12px;color:#b34159;background:#fff0f2;padding:12px;border-radius:7px;margin-bottom:14px}.error:empty{display:none}.login-footer{font-size:10px!important;margin-top:28px}.login-bubbles{display:flex;gap:8px;margin:20px 0}.login-bubbles i{height:11px;width:11px;border-radius:50%;background:var(--blue)}.login-bubbles i:nth-child(2){background:var(--lime)}.login-bubbles i:nth-child(3){background:#c35396}dialog{border:0;border-radius:13px;padding:0;width:700px;max-width:calc(100vw - 32px);max-height:90vh;box-shadow:0 30px 100px #1b102b55;color:var(--ink)}dialog::backdrop{background:#20172577;backdrop-filter:blur(3px)}.modal-head{padding:22px 25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:white;z-index:2}.modal-head h2{margin:0;font-size:18px}.modal-body{padding:24px 25px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:18px;border-top:1px solid var(--line);margin-top:20px}.detail-title{font-size:22px;margin:18px 0 12px}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:20px 0;padding:20px;background:var(--bg);border-radius:8px}.detail-grid dt{font-size:10px;color:var(--muted);margin-bottom:5px}.detail-grid dd{margin:0;font-size:12px}.description{line-height:1.8;font-size:13px;white-space:pre-wrap}.detail-section{margin-top:25px;border-top:1px solid var(--line);padding-top:22px}.detail-section h3{font-size:14px;margin-bottom:18px}.comment{padding:13px 0;border-bottom:1px solid var(--line)}.comment p{font-size:12px;line-height:1.7;white-space:pre-wrap;margin:7px 0}.comment strong{font-size:11px}.comment time{font-size:10px;color:var(--muted);margin-left:10px}.history-row{font-size:11px;color:var(--muted);padding:8px 0;line-height:1.6}.history-row strong{color:var(--ink)}.check-item{padding:16px 0;border-bottom:1px solid var(--line)}.check-item .row{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px}.check-item select{width:130px}.check-item input{margin-top:10px}.notification{display:block;width:100%;padding:18px;text-align:left;border-bottom:1px solid var(--line);font-size:12px}.notification.unseen{background:#faf3f8}.notification small{display:block;margin-top:8px;color:var(--muted)}.mobile-toggle{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#372436;color:white;border-radius:8px;padding:13px 22px;z-index:100;box-shadow:0 5px 30px #0002;font-size:12px;max-width:90vw;display:none}#toast.visible{display:block}.pill-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.spacer{margin-top:20px}.print-only{display:none}.attachment{display:flex;justify-content:space-between;padding:10px 0;font-size:12px}.footer-note{font-size:10px;color:#9a919e;margin-top:20px}button:disabled{opacity:.5;cursor:wait}.checkbox-label{display:flex;align-items:center;gap:8px}.checkbox-label input{width:auto;margin:0}.health-note{border-left:3px solid var(--lime);padding-left:12px;font-size:11px;line-height:1.8;color:var(--muted)}
@media(min-width:1600px){.main{padding-top:40px}.hero{min-height:210px;padding:40px}.hero h2{font-size:32px}}
@media(max-width:1200px){.shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{width:210px}.main{padding:25px}.grid-main{grid-template-columns:minmax(0,1fr) 270px}.stats{gap:12px}.stat{padding:16px}.round-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{padding:0 25px}.hero-pill{display:none}}
@media(max-width:1000px){.grid-main{grid-template-columns:1fr}.side-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}.top-actions{gap:12px}.profile .profile-text{display:none}.stats{grid-template-columns:repeat(2,1fr)}.login-form{padding:30px}.sidebar{padding-left:10px;padding-right:10px}}
@media(max-width:760px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:242px;box-shadow:10px 0 50px #0002}.shell.menu-open .sidebar{transform:translateX(0)}.workspace{width:100%}.mobile-toggle{display:inline-flex}.topbar{height:65px;padding:0 18px}.crumb span{display:none}.main{padding:24px 17px}.pagehead{align-items:flex-start}.pagehead h1{font-size:25px}.pagehead .actions{justify-content:flex-end}.pagehead p{font-size:11px}.hero{padding:25px 23px;min-height:185px}.hero h2{font-size:23px}.hero p{font-size:11px}.stats{gap:10px}.stat{padding:15px}.stat-top{font-size:11px}.stat strong{font-size:27px}.stat-icon{width:28px;height:28px}.side-cards{display:block}.round-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.filters input{width:100%;flex-basis:100%}.filters select{flex:1;min-width:120px}.login{display:block}.login-art{display:none}.login-form{min-height:100svh;padding:30px}.modal-head,.modal-body{padding:20px}.detail-grid{gap:14px;padding:15px}.btn{padding:10px 12px;font-size:11px}.card-head{padding:17px}.card-body{padding:18px}h1{letter-spacing:-.6px}.kanban{grid-template-columns:repeat(5,260px)}}
@media print{.sidebar,.topbar,.pagehead .actions,.filters,.tabs,.notice{display:none!important}.shell{display:block}.workspace{width:100%}.main{padding:0}.card{box-shadow:none;break-inside:avoid}.print-only{display:block}.stats{grid-template-columns:repeat(4,1fr)}body{background:white}th,td{padding:9px;font-size:10px}}
