@font-face{font-family:Jakarta;src:url('/assets/fonts/PlusJakartaSans.ttf') format('truetype');font-weight:200 800;font-style:normal;font-display:swap}
:root{--orange:#f87536;--orange-dark:#b94310;--orange-wash:#fff0e8;--ink:#202124;--muted:#72757e;--line:#e9e9ec;--surface:#fff;--background:#f7f8fa;--success:#247853;font-family:Jakarta,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px;color:var(--ink);background:var(--background);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.5}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e77a3d;outline-offset:4px}button,a,input,select{transition:background .18s,border-color .18s,box-shadow .18s,color .18s}input,select{min-width:0;background:white;color:var(--ink);border:1px solid #dedfe4;border-radius:11px;padding:13px 15px;min-height:48px;width:100%;font-size:.9rem}input:hover,select:hover{border-color:#b6b8c0}input:focus,select:focus{border-color:var(--orange);outline:none;box-shadow:0 0 0 3px #f8753618}input::placeholder{color:#8b8d96}select{appearance:none;padding-right:38px;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2372757e" stroke-width="1.6"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E');background-repeat:no-repeat;background-position:right 12px center}label{display:flex;flex-direction:column;gap:9px;font-size:.875rem;font-weight:600}label small{font-weight:400;font-size:.75rem;line-height:1.6}small{font-size:.8125rem;color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:2rem;letter-spacing:-1.15px;font-weight:650;line-height:1.3}h2{font-size:1.05rem;font-weight:650;letter-spacing:-.3px;line-height:1.5}h3{font-size:1rem;font-weight:650}p{font-size:.9rem;color:var(--muted);line-height:1.8}a{color:var(--orange-dark);text-decoration:none}a:hover{text-decoration:underline}.icon{flex-shrink:0;vertical-align:middle}button .icon{pointer-events:none}button{display:inline-flex;gap:9px;align-items:center;justify-content:center;background:none;color:inherit}button.primary,.button.primary{background:var(--ink);color:white;box-shadow:0 2px 3px #00000009;border:1px solid #202124}.primary:hover{background:#393b40}.primary,.secondary,.danger,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:10px;padding:11px 17px;font-size:.85rem;font-weight:600;text-decoration:none!important;white-space:nowrap}.primary .icon{width:17px;height:17px}.secondary{background:#fff;border:1px solid #dfe0e5;color:#44474f}.secondary:hover{background:#f5f5f7}.danger{background:#b8332e;color:#fff}.danger:hover{background:#942621}.danger-ghost{color:#a64239!important}.danger-ghost:hover{background:#fff0ee!important}.wide{width:100%}.small-button{font-size:.75rem;min-height:34px;padding:7px 10px}.icon-button{width:36px;height:36px;min-height:36px;border-radius:9px;padding:7px;flex-shrink:0;color:#73767e}.icon-button:hover{background:#f1f2f5;color:#26272b}.text-button{font-size:.8rem;font-weight:600;color:#5d6069;padding:6px 0;white-space:nowrap}.text-button:hover{color:var(--orange-dark)}.text-button .icon{width:16px;height:16px}.center{display:flex;justify-content:center;margin:20px}.skip-link{position:fixed;top:-80px;left:20px;z-index:100;background:white;border:2px solid var(--orange);padding:12px}.skip-link:focus{top:10px}.muted{color:var(--muted)}.optional{font-size:.75rem;color:var(--muted);font-weight:400}.eyebrow{font-size:.6875rem;letter-spacing:1.8px;font-weight:700;color:#85858d;line-height:1.8}.section-kicker{display:block;font-size:.625rem;font-weight:650;letter-spacing:1.35px;color:#94969e;line-height:1.8;margin-bottom:3px}.clinic-logo{display:block;width:158px;height:auto;object-fit:contain}.brand-name{font-size:1.65rem;font-weight:750;letter-spacing:-1px;line-height:1}.brand-name>span{font-weight:400;color:#8c8d95;margin-left:3px}.brand-symbol{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--orange);color:white;box-shadow:inset 0 1px 1px #ffffff55,0 3px 7px #f8753620}.brand-symbol .icon{width:23px;height:23px;stroke-width:2.6}.app-brand,.login-brand{display:flex;gap:10px;align-items:center;color:var(--ink)}.app-brand:hover{text-decoration:none}
/* Sign-in: editorial typography and translucent sculptural surfaces. */
.login{display:grid;grid-template-columns:1fr 1fr;min-height:100svh;background:white}.login-story{position:relative;overflow:hidden;background:#f1f1f3;padding:48px 9%;display:flex;flex-direction:column;isolation:isolate;min-height:800px}.login-story:before{content:'';position:absolute;width:650px;height:650px;border-radius:50%;background:radial-gradient(circle,#ffd6bb99,transparent 68%);bottom:-100px;left:-220px;z-index:-1}.story-copy{margin-top:85px;position:relative;z-index:2}.story-copy .eyebrow{font-size:.6875rem;color:#72757b}.story-copy h1{font-size:clamp(2.8rem,4.2vw,4.7rem);font-weight:600;line-height:1.16;letter-spacing:-2.8px;margin:20px 0}.story-copy h1 em{font-style:normal;color:var(--orange)}.story-copy p{font-size:.875rem;line-height:1.95;color:#73757c}.glass-art{height:285px;position:relative;margin-top:22px;pointer-events:none}.art-ring{position:absolute;border:1px solid #ffffffbb;box-shadow:inset 0 1px 8px #ffffffee,inset 0 -10px 30px #ffffff44,0 20px 35px #a4724a13;background:linear-gradient(145deg,#ffffffa0,#fff0e233 45%,#ffffff77);backdrop-filter:blur(8px);border-radius:50%;transform:rotate(-25deg);width:360px;height:150px;left:15%;top:45px}.ring-one{background:linear-gradient(145deg,#ffa777,#ef783c);box-shadow:inset 0 4px 8px #ffd0ac,0 16px 28px #a9571c20;transform:rotate(-25deg) translateY(60px);width:300px;left:20%}.ring-two{top:32px}.ring-three{top:-5px;width:300px;left:20%;background:linear-gradient(145deg,#ffffffb0,#ffffff20);transform:rotate(-25deg)}.glass-caption{position:absolute;left:0;bottom:20px;border:1px solid #ffffffcc;background:#ffffff70;box-shadow:0 10px 40px #00000004,inset 0 1px 0 #fff;backdrop-filter:blur(18px);border-radius:16px;padding:18px 24px;font-size:.8rem;font-weight:600;max-width:100%}.glass-caption span{display:block;font-size:.55rem;color:#96949a;letter-spacing:2px;margin-top:8px}.story-footer{margin-top:auto;display:flex;justify-content:space-between;gap:15px;color:#8b8c93;font-size:.65rem;padding-top:30px}.login-side{display:flex;flex-direction:column;padding:47px 9% 25px}.login-top{display:flex;align-items:center;justify-content:space-between;gap:25px}.login-top .clinic-logo{width:155px}.login-top-label{font-size:.55rem;letter-spacing:1.6px;color:#9a9ca3}.login-form{width:100%;max-width:380px;margin:auto; padding:65px 0}.login-lock{width:45px;height:45px;display:grid;place-items:center;background:#f7f7f8;border:1px solid #ededf0;border-radius:14px;color:#6d6f78;margin-bottom:27px}.login-lock .icon{width:21px;height:21px}.login-form .eyebrow{font-size:.625rem;letter-spacing:1.4px;color:#8e9098}.login-form h2{font-size:2rem;font-weight:600;line-height:1.35;letter-spacing:-1.1px;margin-top:11px}.login-form>p{font-size:.8rem;margin-top:16px;margin-bottom:25px}.login-form form{display:grid;gap:22px}.login-form input{min-height:50px;font-size:.825rem}.login-form form>.primary{background:var(--orange);border-color:var(--orange);color:#fff;min-height:49px;box-shadow:0 4px 10px #f8753625}.login-form form>.primary:hover{background:#e76223}.password-input{display:flex;position:relative;align-items:center}.password-input input{padding-right:50px}.password-input .icon-button{position:absolute;right:7px}.secure-note{border-top:1px solid var(--line);margin-top:28px;padding-top:24px;display:flex;gap:12px;align-items:start}.secure-note .icon{width:16px;height:16px;color:#8e9199;margin-top:3px}.secure-note p{font-size:.6875rem;color:#8b8d96;line-height:1.9}.login-footer{display:flex;justify-content:space-between;font-size:.625rem;color:#a0a1a8;gap:20px}
/* App frame */
.shell{display:flex;min-height:100svh}.sidebar{width:246px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:37px 20px 18px;position:fixed;inset:0 auto 0 0;z-index:25;overflow-y:auto}.sidebar .app-brand{margin:0 12px 37px}.sidebar .brand-name{font-size:1.5rem}.sidebar .brand-symbol{width:27px;height:27px;border-radius:8px}.workspace-label{padding:13px 10px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:11px;margin-bottom:30px;font-size:.72rem;font-weight:650}.workspace-mark{height:29px;width:29px;display:grid;place-items:center;flex-shrink:0;border:1px solid #e9e9ec;border-radius:8px;background:#f8f8fa;font-weight:700;font-size:.9rem}.workspace-label small{display:block;font-size:.58rem;font-weight:400;margin-top:4px}.workspace-label>.icon{width:13px;height:13px;margin-left:auto;color:#a2a4ab}.nav-label{font-size:.5625rem;letter-spacing:1.6px;color:#a1a3ab;margin:0 14px 15px;font-weight:650}nav{display:grid;gap:7px}.nav-item{justify-content:flex-start;gap:13px;padding:13px 14px;border-radius:10px;color:#747780;font-size:.8rem;font-weight:500;width:100%;text-align:left}.nav-item>.icon{width:18px;height:18px}.nav-item:hover{background:#f7f7fa;color:#34363d}.nav-item.active{background:var(--orange-wash);color:var(--orange-dark);font-weight:650}.nav-count{margin-left:auto;font-size:.65rem;min-width:20px;text-align:center;line-height:20px;border-radius:5px;background:#eff0f3;color:#868891}.nav-item.active .nav-count{background:#ffdfcc;color:#a84116}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-note{display:flex;gap:10px;align-items:center;background:#fafafa;border:1px solid #eeeeef;padding:14px 11px;border-radius:11px;font-size:.625rem;color:#8b8c93;line-height:1.85}.sidebar-note .icon{width:20px;height:20px;color:#a5a7ad}.sidebar-clinic{padding:25px 15px 21px}.sidebar-clinic .clinic-logo{width:115px;opacity:.8}.profile-button{width:100%;text-align:left;justify-content:start;padding:14px 8px;border-top:1px solid var(--line);gap:10px}.profile-button strong{font-size:.7rem;display:block;max-width:132px;overflow:hidden;text-overflow:ellipsis}.profile-button small{font-size:.6rem;display:block;margin-top:4px}.profile-button>.icon{width:15px;height:15px;color:#8e9098;margin-left:auto}.avatar{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:11px;background:#f0ece9;color:#8c6650;font-size:.68rem;font-weight:650;letter-spacing:.2px}.logout-button{font-size:.68rem;color:#82848d;justify-content:start;width:100%;padding:9px 10px;gap:10px}.logout-button:hover{background:#f6f6f8;border-radius:8px}.logout-button .icon{width:15px;height:15px}.workspace{margin-left:246px;flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:84px;border-bottom:1px solid #e9eaee;background:#ffffffb5;box-shadow:inset 0 1px #fff;backdrop-filter:blur(24px) saturate(140%);position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:18px}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:.7rem;color:#90929b}.breadcrumb>.icon{height:12px;width:12px;color:#b4b6bd}.breadcrumb strong{color:#555861;font-weight:550}.topbar-right{display:flex;align-items:center;gap:22px}.topbar-date{font-size:.6875rem;color:#878993}.topbar-divider{height:22px;width:1px;background:var(--line)}.small-avatar{height:31px;width:31px;border-radius:50%;font-size:.6rem;border:3px solid white;box-shadow:0 0 0 1px #ececef}.mobile-menu{display:none}.main{padding:38px 42px;max-width:1550px;width:100%;margin:0 auto;flex:1;min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0 0 30px}.page-heading .eyebrow{margin-bottom:8px;font-size:.5625rem;letter-spacing:1.7px}.page-heading h1{font-size:1.9rem;letter-spacing:-1px}.page-heading p{font-size:.76rem;margin-top:10px;line-height:1.8}.page-heading>.primary{font-size:.73rem;padding:11px 16px;min-height:41px}.app-footer{display:flex;justify-content:space-between;gap:20px;font-size:.5625rem;color:#a0a2aa;padding:12px 42px 24px}.app-footer>span:last-child{display:flex;align-items:center;gap:6px}.app-footer .icon{width:11px;height:11px}.footer-dot{padding:0 7px}.sidebar-scrim{display:none}.pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;border-radius:6px;padding:5px 8px;font-size:.625rem;font-weight:550;background:#f2f3f5;color:#73767f;line-height:1.5;white-space:nowrap}.pill.success{color:#27734e;background:#eef7f1}.pill.warning{color:#a95d24;background:#fff4e8}.pill.neutral{color:#7e818b;background:#f1f2f5}
/* Dashboard */
.stats,.staff-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:26px}.staff-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;padding:21px 22px;min-height:155px;box-shadow:0 2px 3px #00000001;overflow:hidden}.stat-top{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:.72rem;color:#737680}.stat-icon{color:#a1a3ab;display:grid;place-items:center}.stat-icon .icon{width:17px;height:17px}.stat>strong{display:block;font-size:2rem;font-weight:600;line-height:1.3;letter-spacing:-1px;margin:16px 0 10px}.stat>small{font-size:.6rem;color:#9799a1}.stat.accent-stat{background:linear-gradient(120deg,#fff5ed,#fff);border-color:#f7e5d9}.accent-stat .stat-icon{color:#ed8249}.accent-stat:after{content:'';position:absolute;width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,#ffd7b53d,transparent);right:-25px;bottom:-15px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px;min-width:0;box-shadow:0 2px 3px #00000001}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:21px}.panel-heading h2{font-size:.9rem}.panel-heading .text-button{font-size:.65rem}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:22px;margin-bottom:23px}.dashboard-grid>.panel{min-height:280px}.dashboard-files{padding-bottom:16px}.recent-file{width:100%;text-align:left;justify-content:flex-start;gap:13px;padding:16px 0;border-top:1px solid #f1f1f4;min-height:76px}.recent-file:hover .recent-file-name strong{color:var(--orange-dark)}.file-type{display:flex;align-items:center;justify-content:center;flex-direction:column;flex-shrink:0;width:36px;height:43px;border-radius:8px;background:#fff1e9;color:#da824e;gap:3px}.file-type>.icon{width:18px;height:18px}.file-type>small{font-size:.4rem;letter-spacing:.5px;font-weight:700;color:inherit}.recent-file-name{min-width:0}.recent-file-name strong{display:block;font-size:.7rem;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:30vw}.recent-file-name small{display:block;font-size:.58rem;margin-top:7px;color:#989aa2}.file-date{font-size:.6rem;color:#9497a1;white-space:nowrap;margin-left:auto}.file-open{display:grid;place-items:center;margin-left:8px;color:#b2b4bb}.file-open .icon{width:15px;height:15px}.person-item{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #f1f1f4}.person-item>div{min-width:0}.person-item strong{font-size:.7rem;font-weight:550;display:block;overflow:hidden;text-overflow:ellipsis}.person-item small{display:block;font-size:.6rem;margin-top:5px}.person-item .pill{margin-left:auto;font-size:.55rem}.person-item .avatar{width:33px;height:33px;font-size:.6rem}.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:22px}.activity-item{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #f2f2f4}.activity-icon{width:30px;height:30px;border-radius:9px;background:#f6f7f9;color:#9295a0;display:grid;place-items:center;flex-shrink:0}.activity-icon .icon{width:14px;height:14px}.activity-item>div{min-width:0}.activity-item strong{display:block;font-size:.68rem;font-weight:500}.activity-item>div>span{display:block;font-size:.575rem;color:#999ba4;margin-top:5px}.activity-item time{margin-left:auto;font-size:.55rem;color:#999ba4;white-space:nowrap}.activity-target{display:inline-block;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.dashboard-connection{display:flex;flex-direction:column;gap:22px}.drive-card{display:flex;flex-direction:column;align-items:flex-start;position:relative;border:1px solid #e8e8ee;background:linear-gradient(135deg,#fff,#f2f3f7);border-radius:15px;min-height:245px;padding:24px;box-shadow:inset 0 1px 0 #fff}.drive-emblem{width:39px;height:39px;border-radius:12px;border:1px solid #e7e8ee;background:#fff;box-shadow:0 2px 4px #00000003;display:grid;place-items:center;color:#8b8e98;flex-shrink:0}.drive-emblem .icon{width:22px;height:22px}.drive-card .drive-emblem{margin-bottom:16px}.drive-card h3{font-size:1rem;margin-bottom:7px}.drive-card p{font-size:.65rem;margin-bottom:15px;max-width:260px}.drive-card .section-kicker{font-size:.5rem}.drive-card .pill{font-size:.55rem}.drive-card>.icon-button{position:absolute;top:22px;right:20px}.quiet-note{display:flex;gap:12px;padding:1px 8px;color:#999ba3}.quiet-note>.icon{width:18px;height:18px;margin-top:2px}.quiet-note strong{font-size:.65rem;color:#797c86;font-weight:550}.quiet-note p{font-size:.575rem;margin-top:5px}.welcome-banner{display:flex;justify-content:space-between;align-items:center;border:1px solid #f2ddd0;background:linear-gradient(110deg,#fff0e5,#fff9f5);padding:28px 32px;border-radius:16px;margin-bottom:22px;overflow:hidden}.welcome-banner .eyebrow{color:#ae7956;font-size:.6rem}.welcome-banner h2{font-size:1.3rem;margin:9px 0}.welcome-banner p{font-size:.8rem}.welcome-mark{width:95px;height:95px;border-radius:26px;transform:rotate(-12deg);display:grid;place-items:center;background:#ffffff85;border:1px solid #ffffffbb;box-shadow:0 10px 25px #b76d3810,inset 0 1px 0 #fff;color:#ef9c66}.welcome-mark .icon{width:45px;height:45px}.folder-mini{width:100%;text-align:left;justify-content:start;padding:15px 0;border-top:1px solid #f0f0f3;gap:13px}.folder-mini>.icon:first-child{color:#edaa74;width:24px;height:24px}.folder-mini span{font-size:.75rem;font-weight:550;min-width:0;overflow-wrap:anywhere}.folder-mini small{font-size:.6rem;display:block;margin-top:6px}.folder-mini>.icon:last-child{margin-left:auto;color:#b1b3bb;width:14px;height:14px}.staff-stats .stat>strong{font-size:1.6rem}
/* Finder-inspired library */
.library{background:#fff;border:1px solid var(--line);border-radius:16px;min-height:500px}.library-toolbar{display:flex;gap:14px;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line)}.search-field{position:relative;display:flex;align-items:center;min-width:100px;flex:1;max-width:420px}.search-field>.icon{position:absolute;left:13px;pointer-events:none;width:16px;height:16px;color:#92959f}.search-field input{padding-left:40px;min-height:42px;font-size:.75rem;border-color:#e8e8ed;background:#fafafb}.search-field kbd{position:absolute;right:13px;color:#a0a2aa;border:1px solid #e4e5e9;border-radius:4px;font:inherit;font-size:.6rem;width:17px;height:20px;text-align:center;background:white}.search-field input{padding-right:35px}.library-toolbar>select{max-width:200px;min-height:42px;font-size:.75rem}.segmented{display:inline-flex;gap:3px;padding:3px;border:1px solid #e9e9ef;border-radius:9px;background:#f7f8fa;margin-left:auto}.segmented .icon-button{height:29px;min-height:29px;width:31px;padding:6px;color:#9b9da5;border-radius:6px}.segmented .icon-button .icon{width:17px;height:17px}.segmented .selected{background:#fff;color:#4b4e58;box-shadow:0 1px 3px #00000012}.library-location{display:flex;align-items:center;gap:12px;padding:21px 25px 14px;font-size:.7rem;min-width:0}.library-location .text-button{font-size:.7rem;color:#73767f;flex-shrink:0}.library-location .text-button .icon{width:15px;height:15px}#folder-crumb{display:flex;gap:9px;align-items:center;overflow-wrap:anywhere;color:#777b84;font-size:.65rem}#folder-crumb .icon{width:12px;height:12px}.library-count{margin-left:auto;color:#a1a3ab;font-size:.625rem;white-space:nowrap}.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px;padding:0 25px}.folder-grid:empty{display:none}.folder-card{border:1px solid #ececf0;border-radius:11px;padding:18px 17px;display:flex;flex-direction:column;align-items:start;gap:7px;text-align:left;background:linear-gradient(125deg,#fff,#fcfcfd);min-width:0}.folder-card:hover{border-color:#efbb99;background:#fff9f5}.folder-card strong{font-size:.72rem;font-weight:600;overflow-wrap:anywhere}.folder-card small{font-size:.6rem;color:#9a9da5}.folder-art{color:#f0a26a;margin-bottom:8px}.folder-art .icon{width:37px;height:33px;fill:#ffead8;stroke:#eeb183;stroke-width:1.1}.library-section-head{display:flex;justify-content:space-between;align-items:center;padding:26px 25px 13px}.library-section-head h2{font-size:.8rem}.sort-control{flex-direction:row;align-items:center;font-weight:400;gap:8px;font-size:.625rem;color:#a1a3ad}.sort-control select{width:auto;min-height:32px;padding-top:5px;padding-bottom:5px;border-color:transparent;font-size:.65rem;color:#686c77;background-color:transparent}.file-list{padding:0 25px}.file-list-head,.file-list-row{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(100px,1fr) minmax(90px,.65fr) 28px;align-items:center;gap:18px;text-align:left;width:100%}.file-list-head{padding:12px 14px;background:#fafafb;border-top:1px solid #f1f1f3;border-bottom:1px solid #f1f1f3;color:#91949e;font-size:.625rem}.file-list-row{padding:17px 14px;border-bottom:1px solid #f1f1f4;border-radius:6px}.file-list-row:hover{background:#fffaf6}.file-name-cell{display:flex;gap:13px;align-items:center;min-width:0}.file-name-cell>span:last-child{min-width:0}.file-name-cell strong{display:block;font-size:.72rem;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-name-cell small:not(.file-type small){display:block;margin-top:6px;color:#a0a2aa;font-size:.575rem}.file-category{font-size:.65rem;color:#858995;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-list .file-date{margin:0;font-size:.625rem}.library-footnote{display:flex;gap:7px;align-items:center;padding:21px 25px;font-size:.6rem;color:#a0a2ab}.library-footnote .icon{width:13px;height:13px}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));padding:0 25px;gap:18px}.document-card{display:flex;flex-direction:column;align-items:stretch;justify-content:start;border:1px solid #ececf1;border-radius:12px;overflow:hidden;text-align:left;padding:0;gap:0}.document-card:hover{box-shadow:0 7px 22px #282a3409;border-color:#e9b79b}.document-thumb{height:155px;background:#f5f5f7;position:relative;display:flex;align-items:end;justify-content:center;overflow:hidden}.document-paper{width:90px;height:125px;position:relative;transform:rotate(-7deg) translateY(8px);background:#fff;border:1px solid #e8e8ee;box-shadow:0 5px 10px #00000006;padding:16px;display:flex;flex-direction:column;gap:7px;color:#eba171;border-radius:3px}.document-paper>.icon{height:22px;width:22px}.document-paper>span{font-size:.5rem;font-weight:650}.document-paper>i{height:2px;background:#ededef;width:100%;margin-top:3px}.document-paper>i:last-child{width:65%}.preview-label{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;font-size:.6rem;border-radius:20px;background:#ffffffcc;border:1px solid white;padding:7px 13px;backdrop-filter:blur(12px);color:#666a74;box-shadow:0 3px 9px #00000005;opacity:0;transition:opacity .2s}.preview-label .icon{width:13px;height:13px}.document-card:hover .preview-label,.document-card:focus-visible .preview-label{opacity:1}.document-card-copy{padding:17px;display:flex;flex-direction:column;gap:8px}.document-card-copy strong{font-size:.75rem;font-weight:550;line-height:1.65;overflow-wrap:anywhere}.document-card-copy>span{font-size:.65rem;color:#8e929d}.document-card-copy>small{font-size:.55rem;color:#a0a3ad}
/* Management and profile */
.people-panel{padding:0;overflow:hidden}.people-toolbar{padding:18px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.tabs{display:flex;gap:5px;flex-shrink:0}.tab{border-radius:8px;padding:9px 12px;font-size:.7rem;color:#92959f;gap:8px}.tab.active{background:#f3f4f6;color:#353942;font-weight:600}.tab span{font-size:.6rem;border-radius:4px;background:#e8e9ee;padding:2px 5px;color:#7b7e89}.search-field.compact{max-width:245px}.table-wrap{width:100%;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-weight:500;color:#9598a2;font-size:.65rem;background:#fbfbfc;white-space:nowrap}td,th{padding:17px 22px;border-bottom:1px solid #f0f0f3}td{font-size:.75rem}tbody tr:last-child td{border-bottom:none}.person-cell{display:flex;gap:12px;align-items:center;min-width:155px}.person-cell strong{display:block;font-size:.72rem;white-space:nowrap;font-weight:600}.person-cell small{display:block;font-size:.6rem;margin-top:6px}.person-cell .avatar{height:34px;width:34px;font-size:.6rem}.person-cell strong small.you-tag{display:inline-block;background:#f4f4f7;color:#9a9da7;padding:2px 5px;border-radius:4px;font-size:.5rem;margin:0 0 0 5px;font-weight:400}.role-select{border-color:transparent;background-color:transparent;font-size:.7rem;min-width:100px;padding:5px 30px 5px 0;min-height:29px;border-radius:5px}.role-select:disabled{color:#494d57;opacity:1;background-image:none}.department{display:block;font-size:.575rem;margin-top:5px;max-width:160px;overflow:hidden;text-overflow:ellipsis}.table-actions{display:flex;align-items:center;justify-content:end;gap:7px;white-space:nowrap}.table-actions .icon-button{height:29px;width:29px;min-height:29px;padding:5px}.table-actions .icon-button .icon{height:15px;width:15px}.align-right{text-align:right}.split-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);align-items:start;gap:24px;margin-bottom:24px}.form-panel{padding:27px}.form-panel>h2{font-size:1rem;margin:15px 0 8px}.form-panel>p{font-size:.75rem;margin-bottom:24px}.form-icon{width:35px;height:35px;background:#fff1e8;color:#d97b44;display:grid;place-items:center;border-radius:11px;flex-shrink:0}.form-icon .icon{width:19px;height:19px}form{display:grid;gap:20px}.form-panel label{font-size:.75rem}.form-panel input,.form-panel select{font-size:.75rem}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.count-badge{display:inline-flex;background:#f1f2f5;color:#9295a0;font-size:.65rem;border-radius:5px;padding:1px 6px;margin-left:6px;vertical-align:middle}.category-item,.grant-item{display:flex;align-items:center;gap:14px;padding:18px 0;border-top:1px solid #f1f1f4}.category-item>div,.grant-item>div{min-width:0;flex:1}.category-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:#fff3e9;color:#d99b6b;flex-shrink:0}.category-icon .icon{width:20px;height:20px}.category-item strong,.grant-item strong{font-size:.75rem;font-weight:550;display:block;overflow-wrap:anywhere}.category-item small,.grant-item small{display:block;margin-top:6px;font-size:.625rem;overflow-wrap:anywhere}.category-item .icon-button .icon,.grant-item .icon-button .icon{width:15px;height:15px}.inline-note{display:flex;gap:10px;align-items:start;background:#f8f8fa;border:1px solid #ededf1;border-radius:10px;padding:14px 15px;font-size:.675rem;color:#868993;line-height:1.9;font-weight:400}.inline-note>.icon{width:16px;height:16px;margin-top:3px;color:#a0a2ab}.form-panel>.inline-note{margin-top:25px}.access-note{margin-bottom:24px;background:#fff9f3;border-color:#f4e7da;color:#9c795c}.access-note>.icon{color:#cba47c}.assignment-row{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:16px 0;border-top:1px solid #f1f1f4}.assignment-row>span{font-size:.75rem;display:flex;gap:10px;align-items:center;min-width:0;overflow-wrap:anywhere}.assignment-row>span>.icon{width:17px;height:17px;color:#a3a6b0}.assignment-row>select{max-width:260px;font-size:.75rem;min-height:39px}.audit-toolbar{display:flex;gap:20px;margin-bottom:24px}.audit-toolbar>select{max-width:210px;min-height:42px;font-size:.75rem}.event-name{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:.7rem}.event-name>.icon{width:15px;height:15px;color:#999da9}.target-label{display:block;max-width:230px;overflow-wrap:anywhere;font-size:.65rem;color:#8b8f9a}.time-label{margin-left:10px;font-size:.65rem}.table-note{font-size:.625rem;margin-top:20px;color:#a2a5af}.settings-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(300px,1.7fr);gap:24px;align-items:start;margin-bottom:24px}.profile-panel{text-align:center;padding:32px 24px}.profile-avatar{width:64px;height:64px;border-radius:20px;font-size:1.15rem;margin:0 auto 18px}.profile-panel>h2{font-size:1rem}.profile-panel>p{font-size:.75rem;margin:6px 0 14px}.profile-panel dl{margin:26px 0 0;text-align:left;border-top:1px solid var(--line);padding-top:8px}.profile-panel dl>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;font-size:.7rem}.profile-panel dt{color:#8d919c}.profile-panel dd{margin:0;color:#686d78;font-size:.7rem;overflow-wrap:anywhere;text-align:right}.profile-panel p.profile-help{font-size:.625rem;color:#a0a3ad;border-top:1px solid var(--line);padding-top:20px;margin:5px 0 0}.password-panel{padding:29px 32px}.password-panel>p{font-size:.75rem;margin-bottom:24px}.password-panel form{max-width:480px}.password-panel label{font-size:.75rem}.password-panel input{font-size:.8rem;min-height:44px}.password-panel [type=submit]{justify-self:start}.field-help{display:block;font-size:.65rem;line-height:1.8;margin-top:-8px}.integration-panel{padding:28px 32px}.integration-title{display:flex;align-items:center;gap:16px}.integration-panel>p{max-width:730px;font-size:.75rem;margin-bottom:22px}.integration-details{display:grid;grid-template-columns:1.5fr 1fr 1fr;border:1px solid var(--line);border-radius:11px;padding:20px;margin:20px 0 22px;gap:30px}.integration-details>div{display:flex;flex-direction:column;gap:9px}.integration-details span{font-size:.625rem;color:#a0a3af}.integration-details strong{font-size:.75rem;font-weight:500;display:flex;gap:5px;align-items:center}.integration-details strong .icon{height:13px;width:13px}.integration-details a{font-size:.65rem}.integration-panel .inline-note{font-size:.7rem}
/* Dialogs, feedback and states */
.empty-state{padding:52px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;grid-column:1/-1;min-height:220px}.empty-icon{width:52px;height:52px;border:1px solid #ececf0;background:linear-gradient(145deg,#fff,#f4f5f8);box-shadow:0 4px 14px #00000003;display:grid;place-items:center;border-radius:16px;color:#a6aab5;margin-bottom:18px}.empty-icon .icon{width:24px;height:24px}.empty-state h3{font-size:.9rem;font-weight:550;margin-bottom:9px}.empty-state p{font-size:.75rem;max-width:330px}.boot{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px}.boot .empty-state{padding-bottom:0}.spinner{width:24px;height:24px;border:2px solid #dfdfe5;border-top-color:var(--orange);border-radius:50%;animation:spin .7s linear infinite;display:inline-block;flex-shrink:0}.spinner.small{height:14px;width:14px;border-width:1.5px;border-color:#ffffff55;border-top-color:currentColor}@keyframes spin{to{transform:rotate(360deg)}}.skeleton-heading{height:80px;background:linear-gradient(100deg,#ededef 20%,#f5f5f7 40%,#ededef 60%);background-size:200% 100%;border-radius:12px;width:65%;margin-bottom:30px;animation:shimmer 1.8s ease infinite}.skeleton-stat,.skeleton-panel{height:155px;background:linear-gradient(100deg,#ededef 20%,#f5f5f7 40%,#ededef 60%);background-size:200% 100%;border-radius:14px;animation:shimmer 1.8s ease infinite}.skeleton-panel{height:300px}@keyframes shimmer{to{background-position:-200% 0}}.form-error{display:none}.form-error.visible{display:block;color:#9b3d32;background:#fff2ee;border:1px solid #f6d8cd;border-radius:9px;padding:12px 14px;font-size:.75rem;font-weight:400;line-height:1.8}.toast:empty{display:none}.toast{position:fixed;z-index:100;bottom:25px;right:25px;border:1px solid #ffffff99;border-radius:14px;box-shadow:0 12px 50px #1a1c2922;background:#292b30ed;color:white;backdrop-filter:blur(20px);padding:14px 15px 14px 20px;display:flex;gap:12px;align-items:center;max-width:min(500px,calc(100vw - 32px));font-size:.8rem;line-height:1.7}.toast>.icon{color:#b7d8c7}.toast.error>.icon{color:#ffc49f}.toast .icon-button{width:25px;height:25px;min-height:25px;color:#aeb0b7}.toast .icon-button:hover{background:#ffffff11}.toast .icon-button .icon{width:15px;height:15px}#connection:not(:empty){position:sticky;top:0;z-index:110;background:#3a332d;color:#ffdec3;display:flex;gap:10px;justify-content:center;align-items:center;font-size:.75rem;padding:11px 20px;line-height:1.7}#connection .icon{height:16px;width:16px}.modal-open{overflow:hidden}.modal-backdrop{position:fixed;inset:0;z-index:70;background:#17192155;backdrop-filter:blur(7px);display:flex;justify-content:center;align-items:center;padding:30px;overflow:auto}.modal{position:relative;margin:auto;inset:auto;display:block;border:1px solid #ffffffd9;border-radius:20px;background:#fff;box-shadow:0 25px 100px #00000025;padding:27px;width:580px;max-width:100%;max-height:calc(100svh - 60px);overflow:auto;color:var(--ink)}.modal:focus{outline:none}.modal-head{display:flex;align-items:start;gap:20px;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:23px}.modal-head h2{font-size:1.1rem;overflow-wrap:anywhere}.modal-head p{font-size:.75rem;margin-top:5px}.modal-head .icon-button{margin:-6px -6px 0 0}.modal form label{font-size:.75rem}.modal form input,.modal form select{font-size:.8rem;min-height:44px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:10px;padding-top:20px;border-top:1px solid var(--line)}.confirm-copy{font-size:.85rem;line-height:1.9;margin:20px 0 30px}.modal-wide{width:1050px;height:85svh;display:flex;flex-direction:column;padding:0;overflow:hidden;background:#fafafb}.modal-wide .modal-head{padding:22px 26px;margin:0;background:#ffffffdf;backdrop-filter:blur(20px);flex-shrink:0}.modal-wide .modal-head h2{font-size:.9rem}.modal-wide .modal-head p{font-size:.65rem}.preview-body{flex:1;min-height:0;overflow:auto;padding:30px;background:#f1f2f5}.preview-loading{height:100%;min-height:250px;display:flex;flex-direction:column;gap:18px;align-items:center;justify-content:center}.preview-loading p{font-size:.8rem}.preview-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 25px;border-top:1px solid #e9e9ef;background:#fff;gap:16px}.preview-footer>span{font-size:.65rem;color:#9296a1;display:flex;align-items:center;gap:7px}.preview-footer>span .icon{width:14px;height:14px}.preview-footer button{font-size:.75rem;min-height:36px;padding:7px 15px}.text-document{padding:45px;background:white;box-shadow:0 3px 15px #00000004;max-width:720px;margin:0 auto;min-height:100%;border:1px solid #e8e9ed;border-radius:3px}.document-letterhead{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:25px;margin-bottom:35px;gap:20px}.document-letterhead .clinic-logo{width:135px}.document-letterhead>span{font-size:.55rem;letter-spacing:1.5px;color:#a6a7b0}.text-document pre{white-space:pre-wrap;overflow-wrap:anywhere;font:400 .85rem/2 Jakarta,sans-serif;color:#60646d}.pdf-preview{border:0;width:100%;height:100%;min-height:400px;background:white}.image-preview{display:block;max-width:100%;height:auto;margin:auto;object-fit:contain}.preview-body>.empty-state{min-height:250px}
/* Tablet and mobile */
@media(min-width:1700px){.main{padding-top:50px}.page-heading h1{font-size:2.3rem}.stat{min-height:175px}.stat>strong{font-size:2.4rem}}
@media(max-width:1200px){.sidebar{width:222px;padding:30px 14px 16px}.workspace{margin-left:222px}.topbar{padding:0 28px;height:75px}.main{padding:30px 28px}.app-footer{padding-left:28px;padding-right:28px}.dashboard-grid,.dashboard-bottom{grid-template-columns:minmax(0,1.45fr) minmax(235px,1fr);gap:18px}.stat{padding:18px 16px}.stats{gap:12px}.stat-top{font-size:.65rem}.stat>small{font-size:.55rem}.panel{padding:20px}.page-heading h1{font-size:1.7rem}.sidebar .brand-name{font-size:1.45rem}.person-item{gap:9px}.dashboard-side .pill{font-size:.5rem}.person-item strong{font-size:.625rem}.recent-file-name strong{max-width:24vw;font-size:.65rem}.file-date{font-size:.55rem}.dashboard-grid .panel-heading{gap:8px}.panel-heading h2{font-size:.8rem}.split-layout{gap:18px;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr)}.login-story{padding:40px 8%}.login-side{padding:40px 8% 25px}.login-top-label{display:none}.story-copy h1{font-size:3.3rem}.art-ring{left:5%}.ring-one,.ring-three{left:12%}td,th{padding:16px}.settings-layout{grid-template-columns:minmax(220px,1fr) minmax(280px,1.5fr);gap:18px}.password-panel{padding:24px}}
@media(max-width:1000px){.dashboard-grid,.dashboard-bottom{grid-template-columns:1fr}.recent-file-name strong{max-width:45vw}.dashboard-side .person-item{display:inline-flex;width:calc(50% - 10px);padding:14px 5px}.dashboard-side .person-item:nth-child(2n+1){margin-right:15px}.dashboard-side .person-item strong{font-size:.75rem}.dashboard-side .person-item .pill{font-size:.6rem}.dashboard-connection{display:grid;grid-template-columns:1fr 1fr;align-items:center}.drive-card{min-height:220px}.quiet-note{padding:10px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{min-height:140px;padding:20px}.stat-top{font-size:.72rem}.stat>small{font-size:.625rem}.page-heading h1{font-size:1.6rem}.split-layout{grid-template-columns:1fr}.form-panel{max-width:none}.people-toolbar{flex-direction:column;align-items:start;gap:14px}.people-toolbar .search-field{max-width:none;width:100%}.library-toolbar{flex-wrap:wrap}.library-toolbar .search-field{max-width:none;flex-basis:100%}.library-toolbar>select{max-width:calc(100% - 95px);flex:1}.library .file-list-head,.library .file-list-row{grid-template-columns:minmax(0,1fr) 95px 20px}.file-list .file-category{display:none}.file-list-head>span:nth-child(2){display:none}.settings-layout{grid-template-columns:1fr}.profile-panel{text-align:left;display:grid;grid-template-columns:64px 1fr;column-gap:20px;align-items:center;padding:25px}.profile-avatar{grid-row:1/4;margin:0}.profile-panel>p{margin:0}.profile-panel>.pill{justify-self:start;margin-top:8px}.profile-panel dl,.profile-panel p.profile-help{grid-column:1/-1;width:100%}.profile-panel dl>div{justify-content:space-between}.integration-details{grid-template-columns:1fr;gap:20px}.login-story{min-height:700px}.story-copy{margin-top:70px}.story-copy h1{font-size:2.8rem;letter-spacing:-2px}.story-copy p{font-size:.75rem}.art-ring{width:260px;left:0}.ring-one,.ring-three{width:230px;left:4%}.glass-caption{padding:15px 18px;font-size:.7rem}.story-footer{font-size:.55rem;flex-direction:column;gap:8px}.login-side{padding-left:11%;padding-right:11%}.login-form h2{font-size:1.7rem}.login-footer{font-size:.55rem}.welcome-banner{padding:24px}.staff-stats{gap:12px}.staff-stats .stat{padding:17px}.staff-stats .stat>strong{font-size:1.2rem}}
@media(max-width:760px){.sidebar{width:260px;transform:translateX(-100%);transition:transform .23s ease;padding:28px 20px;z-index:50}.workspace{margin-left:0}.menu-open .sidebar{transform:translateX(0);box-shadow:10px 0 50px #00000015}.sidebar-scrim{display:none}.menu-open .sidebar-scrim{display:block;position:fixed;inset:0;z-index:45;background:#17191f44;backdrop-filter:blur(3px);width:100%;height:100%}.menu-open{overflow:hidden}.mobile-menu{display:inline-flex;margin-left:-7px}.topbar{height:67px;padding:0 22px}.breadcrumb{gap:9px}.topbar-right{gap:15px}.topbar-date{font-size:.625rem}.topbar-divider{display:none}.main{padding:27px 22px}.page-heading{margin-bottom:25px;gap:16px}.page-heading .eyebrow{font-size:.5rem;letter-spacing:1.4px}.page-heading h1{font-size:1.7rem}.page-heading p{font-size:.7rem;max-width:320px}.page-heading>.primary{font-size:.65rem;padding:10px 13px}.app-footer{padding:15px 22px 25px;font-size:.5rem}.dashboard-grid,.dashboard-bottom{gap:18px;margin-bottom:18px}.dashboard-grid>.panel{min-height:240px}.panel-heading h2{font-size:.85rem}.recent-file-name strong{max-width:50vw;font-size:.72rem}.recent-file-name small{font-size:.6rem}.file-date{font-size:.6rem}.panel{padding:20px}.dashboard-side .person-item strong{font-size:.7rem}.stats{margin-bottom:20px}.stat{min-height:147px}.stat-top{font-size:.7rem}.stat>strong{font-size:2rem}.login{grid-template-columns:1fr;min-height:100svh}.login-story{min-height:auto;padding:26px 28px 32px}.login-brand .brand-name{font-size:1.4rem}.login-brand .brand-symbol{width:25px;height:25px;border-radius:8px}.story-copy{margin-top:35px}.story-copy>.eyebrow{font-size:.5rem}.story-copy h1{font-size:2rem;letter-spacing:-1.2px;margin-top:12px;margin-bottom:15px;max-width:85%;line-height:1.2}.story-copy h1 br:first-child{display:none}.story-copy p{font-size:.7rem}.glass-art,.story-footer{display:none}.login-side{padding:30px 28px 20px}.login-top .clinic-logo{width:128px}.login-top-label{display:block;font-size:.5rem}.login-form{margin:0 auto;padding:40px 0;max-width:420px}.login-form h2{font-size:1.75rem}.login-lock{display:none}.login-form>p{font-size:.75rem;margin-top:15px}.login-form form{gap:20px}.login-form label{font-size:.8rem}.secure-note p{font-size:.625rem}.login-footer{margin-top:auto;gap:10px;font-size:.55rem}.login-top{max-width:420px;width:100%;margin:auto}.login-form .eyebrow{font-size:.55rem}.modal-backdrop{padding:18px}.modal{padding:22px;max-height:calc(100svh - 36px);border-radius:17px}.modal-wide{padding:0;height:90svh}.modal-head h2{font-size:1rem}.modal-wide .modal-head{padding:20px}.preview-body{padding:20px}.text-document{padding:30px 24px}.text-document pre{font-size:.8rem}.preview-footer{padding:13px 20px}.integration-panel{padding:23px}.people-panel{padding:0}.people-toolbar{padding:18px 20px}.people-table th{font-size:.625rem}.people-table td{padding:15px 18px}.person-cell{min-width:145px}.table-actions{gap:5px}.department{font-size:.55rem}.assignment-row{gap:18px}.assignment-row>select{max-width:200px}.library-toolbar{padding:18px}.library-location{padding:18px 19px 14px}.folder-grid{padding:0 19px;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px}.library-section-head{padding:23px 19px 12px}.file-list{padding:0 10px}.file-list-head,.file-list-row{gap:10px;padding-left:9px;padding-right:9px}.file-name-cell{gap:11px}.file-name-cell strong{font-size:.7rem}.library-footnote{padding:20px;font-size:.55rem}.file-grid{padding:0 19px;gap:14px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.document-card-copy{padding:14px}.document-card-copy strong{font-size:.7rem}.welcome-banner h2{font-size:1.1rem}.welcome-banner p{font-size:.7rem}.welcome-mark{width:65px;height:65px;border-radius:20px}.welcome-mark .icon{width:30px;height:30px}.staff-stats .stat>strong{font-size:1.2rem}.folder-mini span{font-size:.7rem}.empty-state{padding:40px 18px}.empty-state h3{font-size:.8rem}.empty-state p{font-size:.7rem}.dashboard-side .folder-mini{width:100%}.audit-toolbar{flex-wrap:wrap;gap:12px}.audit-toolbar .search-field{flex-basis:100%;max-width:none}.audit-toolbar>select{max-width:none}.time-label{display:block;margin:6px 0 0}.event-name{font-size:.625rem}.toast{bottom:18px;right:16px;padding:12px 14px;font-size:.75rem}}
@media(max-width:450px){.topbar{padding:0 18px}.breadcrumb>span{display:none}.breadcrumb>.icon{display:none}.topbar-right{gap:10px}.topbar-date{font-size:.55rem}.main{padding:24px 17px}.page-heading{flex-wrap:wrap;align-items:start;gap:18px}.page-heading h1{font-size:1.6rem}.page-heading>.primary{min-height:39px;font-size:.7rem}.page-heading>.pill{font-size:.55rem}.stats{gap:11px}.stat{padding:17px;min-height:140px}.stat-top{font-size:.65rem}.stat>strong{font-size:1.9rem;margin:14px 0 8px}.stat>small{font-size:.55rem;line-height:1.6;display:block}.stat-icon .icon{width:15px;height:15px}.panel{padding:19px}.dashboard-side .person-item{width:100%;padding:14px 0}.dashboard-side .person-item:nth-child(2n+1){margin:0}.person-item strong{font-size:.75rem}.dashboard-connection{grid-template-columns:1fr;gap:18px}.drive-card{min-height:220px}.quiet-note{padding:5px 10px}.quiet-note strong{font-size:.7rem}.quiet-note p{font-size:.625rem}.recent-file-name strong{max-width:57vw;font-size:.68rem}.recent-file .file-date{display:none}.recent-file .file-open{margin-left:auto}.file-list .file-list-head,.file-list .file-list-row{grid-template-columns:minmax(0,1fr) 20px}.file-list .file-date{display:none}.file-list-head>span:nth-child(3){display:none}.file-type{width:32px;height:39px}.file-name-cell{gap:10px}.file-name-cell strong{font-size:.68rem}.file-name-cell small:not(.file-type small){font-size:.55rem}.file-list .file-open{margin-left:0}.file-list-row{padding-top:15px;padding-bottom:15px}.library-footnote{font-size:.5rem;line-height:1.8;align-items:start}.library-footnote .icon{margin-top:2px;flex-shrink:0}.folder-card{padding:15px}.folder-card strong{font-size:.7rem}.folder-art .icon{width:33px;height:30px}.folder-card small{font-size:.6rem}.sort-control{font-size:.55rem;gap:2px}.sort-control select{font-size:.6rem;padding-left:7px;max-width:145px}.form-two{grid-template-columns:1fr;gap:18px}.modal-backdrop{padding:12px}.modal{max-height:calc(100svh - 24px);padding:21px}.modal-wide{padding:0;height:93svh}.modal-actions{flex-wrap:wrap}.modal-actions .primary{flex:1}.modal form label{font-size:.8rem}.modal form input{font-size:.85rem}.modal-wide .modal-head{padding:18px}.modal-wide .modal-head h2{font-size:.8rem}.modal-wide .modal-head p{font-size:.6rem}.preview-body{padding:12px}.text-document{padding:25px 18px}.document-letterhead{flex-wrap:wrap;gap:10px}.document-letterhead .clinic-logo{width:110px}.document-letterhead>span{font-size:.5rem}.text-document pre{font-size:.75rem}.preview-footer>span{font-size:.55rem}.preview-footer>span .icon{display:none}.preview-footer{padding:12px 16px}.app-footer{padding:12px 18px 22px;font-size:.45rem}.app-footer>span:last-child{display:none}.people-panel{padding:0}.people-toolbar{padding:15px}.tab{font-size:.65rem;padding:9px 11px}.tab span{font-size:.55rem}.assignment-row{flex-direction:column;align-items:start;gap:12px}.assignment-row>select{max-width:none;font-size:.75rem}.assignment-row>span{font-size:.7rem}.grant-item{gap:10px}.grant-item strong{font-size:.7rem}.grant-item small{font-size:.575rem}.grant-item .pill{display:none}.grant-item .category-icon{width:32px;height:32px}.grant-item .icon-button{width:30px;height:30px;min-height:30px}.form-panel label{font-size:.75rem}.form-panel select{font-size:.7rem}.integration-panel{padding:20px}.integration-panel .panel-heading{flex-wrap:wrap}.integration-details{padding:17px}.profile-panel{padding:24px 20px}.profile-panel>h2{font-size:.9rem}.profile-panel p.profile-help{font-size:.6rem}.profile-panel dl>div{font-size:.65rem}.password-panel{padding:23px 20px}.password-panel label{font-size:.8rem}.password-panel input{font-size:.85rem}.staff-stats{grid-template-columns:1fr 1fr}.staff-stats>.stat:last-child{grid-column:1/-1;min-height:auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px}.staff-stats>.stat:last-child>strong{font-size:1rem;justify-self:end;margin:0}.staff-stats>.stat:last-child>small{grid-column:1/-1}.welcome-banner{padding:21px 20px}.welcome-mark{display:none}.welcome-banner h2{font-size:1.1rem}.welcome-banner .eyebrow{font-size:.5rem}.login-story{padding:24px 25px 27px}.story-copy{margin-top:30px}.story-copy h1{font-size:1.8rem}.story-copy p{font-size:.65rem}.login-side{padding:27px 25px 20px}.login-form{padding:35px 0}.login-form h2{font-size:1.7rem}.activity-item time{font-size:.5rem}.activity-item strong{font-size:.65rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Readable density: interface text stays legible on every display. */
.nav-item{font-size:.875rem}.nav-label{font-size:.625rem}.workspace-label{font-size:.8125rem}.workspace-label small{font-size:.6875rem}.profile-button strong{font-size:.8125rem}.profile-button small,.logout-button{font-size:.75rem}.sidebar-note{font-size:.75rem}.breadcrumb,.topbar-date{font-size:.8125rem}.section-kicker{font-size:.625rem}.page-heading .eyebrow{font-size:.6875rem}.page-heading p{font-size:.875rem}.page-heading>.primary{font-size:.8125rem}.stat-top{font-size:.8125rem}.stat>small{font-size:.75rem}.panel-heading h2{font-size:1rem}.panel-heading .text-button{font-size:.75rem}.recent-file-name strong{font-size:.8125rem}.recent-file-name small,.file-date{font-size:.75rem}.person-item strong{font-size:.8125rem}.person-item small{font-size:.75rem}.person-item .pill,.pill{font-size:.6875rem}.activity-item strong{font-size:.8125rem}.activity-item>div>span,.activity-item time{font-size:.6875rem}.drive-card p{font-size:.8125rem}.drive-card .section-kicker{font-size:.625rem}.drive-card .pill{font-size:.6875rem}.drive-card{min-height:260px}.quiet-note strong{font-size:.8125rem}.quiet-note p{font-size:.75rem}.folder-mini span{font-size:.8125rem}.folder-mini small{font-size:.75rem}.folder-card strong{font-size:.8125rem}.folder-card small{font-size:.75rem}.search-field input,.library-toolbar>select{font-size:.8125rem}.library-count,.library-location .text-button,#folder-crumb{font-size:.75rem}.library-section-head h2{font-size:.9rem}.sort-control,.sort-control select{font-size:.75rem}.file-list-head,.file-list .file-date,.file-category{font-size:.75rem}.file-name-cell strong{font-size:.8125rem}.file-name-cell small:not(.file-type small){font-size:.6875rem}.library-footnote{font-size:.6875rem}.document-card-copy strong{font-size:.8125rem}.document-card-copy>span{font-size:.75rem}.document-card-copy>small{font-size:.6875rem}.tab{font-size:.8125rem}.tab span{font-size:.6875rem}.person-cell strong{font-size:.8125rem}.person-cell small,.department{font-size:.6875rem}.role-select{font-size:.8125rem}.small-button{font-size:.6875rem}th{font-size:.75rem}td{font-size:.8125rem}.inline-note{font-size:.8125rem}.form-panel label,.password-panel label,.modal form label{font-size:.875rem}.form-panel input,.form-panel select,.password-panel input,.modal form input,.modal form select{font-size:.875rem}.form-panel>p,.password-panel>p{font-size:.875rem}.category-item strong,.grant-item strong{font-size:.8125rem}.category-item small,.grant-item small{font-size:.75rem}.assignment-row>span,.assignment-row>select{font-size:.8125rem}.audit-toolbar>select{font-size:.8125rem}.event-name{font-size:.8125rem}.target-label,.time-label,.table-note{font-size:.6875rem}.profile-panel>p{font-size:.8125rem}.profile-panel dl>div,.profile-panel dd{font-size:.8125rem}.profile-panel p.profile-help{font-size:.75rem}.field-help{font-size:.75rem}.integration-panel>p,.integration-panel .inline-note{font-size:.8125rem}.integration-details span,.integration-details a{font-size:.75rem}.integration-details strong{font-size:.8125rem}.empty-state h3{font-size:1rem}.empty-state p{font-size:.875rem}.app-footer{font-size:.625rem}.login-top-label{font-size:.625rem}.login-form .eyebrow{font-size:.6875rem}.login-form>p{font-size:.875rem}.login-form input{font-size:.875rem}.secure-note p{font-size:.75rem}.login-footer,.story-footer{font-size:.6875rem}.story-copy p{font-size:.9375rem}.modal-head p{font-size:.8125rem}.form-error.visible{font-size:.8125rem}.preview-footer>span{font-size:.75rem}.modal-wide .modal-head p{font-size:.75rem}.file-grid .empty-state{width:100%}.main:focus{outline:none}
@media(max-width:1200px){.sidebar{width:234px}.workspace{margin-left:234px}.stat-top{font-size:.75rem}.stat>small{font-size:.6875rem}.recent-file-name strong{font-size:.75rem}.panel-heading h2{font-size:.9rem}.person-item strong{font-size:.75rem}.nav-item{font-size:.8125rem}.workspace-label{font-size:.75rem}.sidebar-note{font-size:.6875rem}}
@media(max-width:1000px){.dashboard-side .person-item strong{font-size:.8125rem}.dashboard-side .person-item .pill{font-size:.6875rem}.stat-top{font-size:.8125rem}.stat>small{font-size:.75rem}.library .file-list-head,.library .file-list-row{grid-template-columns:minmax(0,1fr) 105px 20px}.login-side{padding-left:9%;padding-right:9%}.story-copy p{font-size:.8125rem}}
@media(max-width:760px){.sidebar{width:280px}.workspace{margin-left:0}.page-heading p{font-size:.8125rem}.topbar-date,.breadcrumb{font-size:.75rem}.recent-file-name strong{font-size:.8125rem}.panel-heading h2{font-size:.9rem}.sidebar-note{font-size:.75rem}.login-form>p{font-size:.8125rem}.story-copy p{font-size:.8125rem}.library-footnote{font-size:.6875rem}.welcome-banner p{font-size:.8125rem}}
@media(max-width:450px){.topbar-date{font-size:.6875rem}.page-heading>.primary{font-size:.8125rem}.stat-top{font-size:.75rem}.stat>small{font-size:.6875rem}.recent-file-name strong{font-size:.75rem}.recent-file-name small{font-size:.6875rem}.library .file-list-head,.library .file-list-row{grid-template-columns:minmax(0,1fr) 20px}.library .file-list-head>span:nth-child(3){display:none}.file-list-head{font-size:.6875rem}.file-name-cell strong{font-size:.75rem}.file-name-cell small:not(.file-type small){font-size:.625rem}.sort-control,.sort-control select{font-size:.6875rem}.library-count{font-size:.6875rem}.folder-card strong{font-size:.8125rem}.folder-card small{font-size:.6875rem}.app-footer{font-size:.625rem}.activity-item strong{font-size:.75rem}.activity-item time{font-size:.625rem}.activity-target{max-width:75px}.panel-heading .text-button{font-size:.6875rem}.preview-footer>span{font-size:.625rem}.modal-wide .modal-head h2{font-size:.9rem}.modal-wide .modal-head p{font-size:.6875rem}.secure-note p{font-size:.6875rem}.login-footer{font-size:.625rem}.grant-item small{font-size:.6875rem}}
@media(max-width:600px){
 .people-table{display:block}.people-table thead{display:none}.people-table tbody{display:block}.people-table tr{display:grid;grid-template-columns:1fr 1fr;padding:18px 20px;gap:15px 20px;border-bottom:1px solid var(--line)}.people-table tr:last-child{border-bottom:0}.people-table td{display:block;border:0;padding:0;min-width:0}.people-table td:first-child{grid-column:1/-1;padding-bottom:5px}.people-table td:nth-child(2):before,.people-table td:nth-child(3):before,.people-table td:nth-child(4):before{display:block;font-size:.6875rem;color:#8a8e99;margin-bottom:8px}.people-table td:nth-child(2):before{content:'Rol / Departman'}.people-table td:nth-child(3):before{content:'Durum'}.people-table td:nth-child(4):before{content:'Katılım'}.people-table td:last-child{grid-column:1/-1;border-top:1px solid #f2f2f5;padding-top:14px}.people-table .table-actions{justify-content:start;gap:12px}.people-table .table-actions .icon-button{height:36px;width:36px;min-height:36px}.people-table .small-button{min-height:36px;font-size:.75rem}.people-table .role-select{font-size:.8125rem}.people-table .person-cell strong{font-size:.875rem}.people-table .department{font-size:.75rem}.people-table td:nth-child(4){font-size:.75rem}.profile-button strong{max-width:170px}
}
/* Authentication and account administration */
.auth-shell{min-height:100svh;padding:35px 30px 25px;background:radial-gradient(ellipse at top,#fff3e9 0,transparent 48%),#f7f8fa;display:flex;flex-direction:column;align-items:center}.auth-header{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1100px;gap:25px}.auth-header .clinic-logo{width:145px}.auth-card{background:#fff;border:1px solid #e9e9ef;border-radius:21px;padding:38px;width:100%;max-width:530px;box-shadow:0 15px 50px #24252d04;margin:55px 0 30px}.auth-card>.form-icon{margin-bottom:20px}.auth-card>.eyebrow{font-size:.6875rem;margin-bottom:10px}.auth-card h1{font-size:1.65rem;letter-spacing:-.8px}.auth-card>p{margin:15px 0 25px;font-size:.875rem}.auth-card form{margin:22px 0}.auth-card label{font-size:.875rem}.auth-card input{font-size:.9rem}.auth-card #gate-logout{margin-top:18px}.auth-footer{font-size:.75rem;color:#777d89;display:flex;gap:8px;align-items:center;text-align:center;max-width:500px;line-height:1.8;margin-top:auto}.auth-footer>.icon{width:16px;height:16px}.setup-steps{font-size:.8125rem;color:#747987;line-height:1.9;padding-left:20px;margin:25px 0}.setup-steps li{padding-left:4px;margin:10px 0}.secret-input{font-family:monospace;letter-spacing:.7px;font-size:.85rem!important;background:#fafafb}.setup-expiry{margin:12px 0 20px}.recovery-codes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:25px 0}.recovery-codes code{font-size:.85rem;background:#f5f5f8;padding:12px 8px;text-align:center;border-radius:7px;letter-spacing:.5px}.recovery-success{display:flex;align-items:center;gap:10px;color:#26744f;font-size:.875rem;margin:20px 0}.recovery-switch{margin:0 0 10px}.permission-fieldset{min-width:0;border:1px solid #e7e8ee;border-radius:12px;padding:17px;margin:0}.permission-fieldset legend{font-size:.875rem;padding:0 6px;font-weight:600}.permission-fieldset>p{font-size:.75rem;margin-bottom:14px}.permission-checklist{max-height:230px;overflow:auto;display:grid;gap:0}.permission-checklist label{display:flex;flex-direction:row;align-items:center;gap:12px;font-size:.8125rem!important;padding:13px 0;border-top:1px solid #f0f0f3;font-weight:500}.permission-checklist input{width:17px;min-height:17px;height:17px;padding:0;flex-shrink:0;accent-color:var(--orange)}.permission-checklist span{overflow-wrap:anywhere;min-width:0}.permission-checklist small{display:block;margin-top:4px;font-size:.6875rem;font-weight:400}.user-actions{flex-wrap:wrap;max-width:270px;gap:6px;margin-left:auto}.account-security-note{display:block;font-size:.625rem;margin-top:7px;max-width:145px;line-height:1.6}.user-role{font-size:.8125rem;font-weight:500}.user-actions .small-button{font-size:.625rem;padding:7px 8px}.people-table td{vertical-align:top}.people-table .table-actions{padding-top:0}.people-table .person-cell{padding-top:3px}
@media(max-width:600px){.user-actions{margin-left:0;max-width:none;justify-content:start!important}.people-table td:nth-child(4):before{content:'Oturumlar'}.account-security-note{font-size:.6875rem}.auth-shell{padding:25px 18px}.auth-header .clinic-logo{width:105px}.auth-header .brand-name{font-size:1.3rem}.auth-header .brand-symbol{width:25px;height:25px}.auth-card{padding:26px 22px;margin-top:35px;border-radius:17px}.auth-card h1{font-size:1.4rem}.auth-card input{font-size:1rem}.recovery-codes{gap:8px}.recovery-codes code{font-size:.6875rem;padding:11px 5px}.auth-footer{font-size:.6875rem;align-items:start}.auth-footer>.icon{margin-top:3px}.secret-input{font-size:.75rem!important;letter-spacing:0}}
.user-actions .small-button{font-size:.75rem}.user-actions{max-width:285px}.account-security-note{font-size:.6875rem}.auth-card .form-error.visible{overflow-wrap:anywhere}@media(max-width:600px){.user-actions{max-width:none}}
.preview-actions{display:flex;align-items:center;gap:10px}.preview-actions .button{font-size:.75rem;min-height:36px;padding:7px 13px}.preview-actions .icon{width:14px;height:14px}@media(max-width:450px){.preview-footer>span{max-width:130px}.preview-actions{gap:7px}.preview-actions .button,.preview-actions button{font-size:.6875rem;padding:7px 10px}}
/* Drive integration, hierarchy and protected Office previews */
.sample-banner{margin-bottom:20px}.drive-id{font-size:.8125rem;overflow-wrap:anywhere;color:#4e5460}.integration-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.drive-help{font-size:.8125rem;line-height:1.9;color:#777d89;margin:15px 0}.sync-error-cell{max-width:330px;overflow-wrap:anywhere}.integration-panel .form-error{margin:20px 0}.folder-grant-row{display:flex;gap:15px;align-items:center;flex-wrap:wrap;padding:20px 0;border-top:1px solid var(--line)}.folder-grant-row>div:first-of-type{min-width:0;flex:1}.folder-grant-row strong{font-size:.875rem;overflow-wrap:anywhere}.folder-grant-row p{font-size:.75rem}.folder-grant-row>.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.check-line{flex-direction:row;align-items:center;gap:12px;line-height:1.7}.check-line input{width:18px;height:18px;min-height:18px;flex-shrink:0;accent-color:var(--orange)}.permission-item{display:flex;align-items:center;gap:15px;border-top:1px solid var(--line)}.permission-item>label:first-child{flex:1}.permission-checklist .permission-item label{border:0}.permission-checklist .download-choice{font-size:.75rem!important;flex-shrink:0;gap:7px}.library-location{flex-wrap:wrap}#folder-crumb{flex-wrap:wrap}#folder-crumb .text-button{white-space:normal;overflow-wrap:anywhere;text-align:left}.file-name-cell small{line-height:1.7}.office-notice{font-size:.8125rem;color:#6c7483;background:#ffffffd9;border:1px solid #e5e7ed;border-radius:10px;padding:13px 16px;margin:0 0 20px;line-height:1.8}.word-preview{font-size:.9375rem;color:#444c59;line-height:1.9;overflow-wrap:anywhere}.word-preview h1,.word-preview h2,.word-preview h3{margin:24px 0 16px;line-height:1.5}.word-preview p{font-size:inherit;line-height:inherit;margin:12px 0}.word-preview table{display:block;overflow:auto;margin:20px 0;max-width:100%}.word-preview td,.word-preview th{font-size:.875rem;padding:12px;border:1px solid #e5e7ed}.word-preview ul,.word-preview ol{padding-left:24px}.sheet-tabs{display:flex;gap:9px;overflow:auto;padding-bottom:14px}.sheet-tabs button{font-size:.8125rem;flex-shrink:0}.sheet-tabs button.selected{border-color:#e5a775;background:#fff3e8;color:#994b1b}.spreadsheet-scroll{overflow:auto;background:#fff;max-height:calc(70svh - 100px);border:1px solid #e0e3e9}.spreadsheet-table{table-layout:fixed;min-width:100%}.spreadsheet-table td{min-width:140px;max-width:240px;width:160px;height:35px;padding:8px;font-size:.8125rem;border:1px solid #e5e7ee;white-space:pre-wrap;overflow-wrap:anywhere}.spreadsheet-table th{position:sticky;top:0;padding:8px 14px;text-align:center;background:#f5f6fa;border:1px solid #dfe2e9;font-size:.6875rem;font-weight:500;min-width:45px}.spreadsheet-table tbody th{left:0;z-index:1}.spreadsheet-table thead th{z-index:2}.spreadsheet-table tr:last-child td{border-bottom:1px solid #e5e7ee}.main>.panel+.panel{margin-top:24px}.main>.split-layout+.panel{margin-top:0}.main>.stats+.panel{margin-top:0}.drive-help+.table-wrap{margin-top:20px}.main>.inline-note+.split-layout{margin-top:24px}
@media(max-width:760px){.folder-grant-row>.row{flex-basis:100%}.drive-id{font-size:.75rem}.integration-actions button{white-space:normal;text-align:center}.permission-item{gap:8px}.permission-checklist .download-choice{font-size:.6875rem!important}.word-preview{padding:22px 18px;font-size:.875rem}.office-notice{font-size:.75rem}.spreadsheet-table td{font-size:.75rem;min-width:120px}.integration-panel .panel-heading>.secondary{font-size:.75rem}.library-location{gap:8px}.file-name-cell small:not(.file-type small){white-space:normal}.file-list-row{min-height:87px}}
.spreadsheet-table{width:max-content;min-width:100%}.spreadsheet-table .sheet-index{width:48px}.spreadsheet-table .sheet-data{width:160px}.spreadsheet-table th:first-child{width:48px;min-width:48px;max-width:48px}
