@charset "UTF-8";
:root{--teal:#00788a;--teal-dark:#065f72;--teal-bright:#05868d;--navy:#162641;--muted:#63728b;--bg:#f5f7f9;--line:#e2e8ef;--pale:#eaf5f5;--white:#fff;--red:#b73943;--green:#19834b;--shadow:0 4px 24px #17274106;--radius:14px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--navy);font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}a{color:var(--teal-dark);text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #3eafbd;outline-offset:4px}.icon{flex:none;vertical-align:middle}.brand-logo{width:170px;height:76px;object-fit:contain}.eyebrow{font-size:.75rem;font-weight:750;letter-spacing:.14em;color:var(--teal);margin-bottom:13px}.muted{color:var(--muted)}.small-text{font-size:.875rem;line-height:1.6}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.9rem,3vw,2.65rem);letter-spacing:-.045em;line-height:1.18;margin-bottom:12px;font-weight:730}h2{font-size:1.125rem;letter-spacing:-.015em;margin-bottom:20px}h3{font-size:1rem}p{line-height:1.65}small{font-size:.8rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:10px 17px;border:1px solid #d7e1e9;border-radius:8px;background:white;color:var(--navy);font-weight:600;font-size:.9rem;white-space:nowrap;transition:background .15s,box-shadow .15s}.button:hover{background:#f0f5f7}.button.primary{background:var(--teal);border-color:var(--teal);color:white;box-shadow:0 3px 8px #00788a18}.button.primary:hover{background:var(--teal-dark)}.button.full{width:100%;min-height:50px}.button.small{padding:7px 10px;min-height:36px;font-size:.8rem}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;background:transparent;color:inherit;border-radius:8px}.icon-button:hover{background:#00818b10}.field{display:flex;flex-direction:column;gap:9px;margin:0 0 20px;font-size:.9rem;font-weight:600}.field input,.field select,.field textarea,.copy-row input{width:100%;min-width:0;border:1px solid #cdd9e5;border-radius:7px;padding:12px 13px;background:#fff;color:var(--navy);min-height:46px;font-weight:400}.field small{font-weight:400;color:var(--muted);line-height:1.5}.field textarea{resize:vertical}.field input::placeholder{color:#8391a5}.field input:disabled{background:#f2f5f7;color:var(--muted)}.input-wrap{position:relative;display:flex;align-items:center}.input-wrap>.icon{position:absolute;left:14px;color:var(--muted);width:20px}.input-wrap input{padding-left:44px;padding-right:44px}.input-wrap>.icon-button{position:absolute;right:4px;color:var(--muted)}.alert{padding:15px 18px;border-radius:8px;margin-bottom:22px;font-size:.9rem;line-height:1.5;border:1px solid}.alert.error{background:#fff1f1;border-color:#edc7ca;color:#9b3038}.alert.success{background:#ebf7f1;border-color:#b6decc;color:#25694c}.badge{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:5px;background:#f4f7f9;color:var(--muted);font-size:.75rem;padding:5px 8px;font-weight:500}.badge.danger{background:#fff0f1;color:var(--red);border-color:#ebc8ca}.danger-text{color:var(--red)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Login */
.auth-page{min-height:100svh;background:#f6f8fa;display:flex;flex-direction:column}.auth-header{height:100px;padding:12px 4.5%;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e9edf2}.header-note{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:.875rem}.header-note .icon{width:17px}.auth-main{display:grid;grid-template-columns:minmax(380px, .88fr) minmax(450px,1.12fr);width:min(1440px,100%);padding:38px 4.5%;margin:auto;gap:35px;flex:1;align-items:stretch}.auth-card{background:#fff;border:1px solid #eef1f4;border-radius:16px;box-shadow:0 8px 35px #18314f05;padding:clamp(30px,4vw,64px);align-self:center}.auth-card h1{font-size:clamp(1.8rem,2.7vw,2.4rem)}.intro{color:var(--muted);font-size:1rem;line-height:1.6;margin-bottom:33px}.auth-card .eyebrow{margin-bottom:20px}.auth-card form{margin-top:28px}.form-link{text-align:right;font-size:.875rem;margin:-3px 0 27px}.auth-hint{border-top:1px solid var(--line);padding-top:24px;margin-top:32px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:.8rem}.auth-hint .icon{width:17px}.auth-story{overflow:hidden;position:relative;display:flex;flex-direction:column;border-radius:16px;padding:45px clamp(28px,4vw,62px) 28px;background:linear-gradient(145deg,#e3f3f4,#d8eff1 60%,#c2e3e7);min-height:610px}.story-top{display:flex;align-items:center;justify-content:space-between}.small-line{width:45px;height:2px;background:var(--teal)}.auth-story h2{font-size:clamp(2.4rem,4vw,3.7rem);letter-spacing:-.045em;line-height:1.15;margin:37px 0 25px;font-weight:740}.auth-story h2 em{font-style:normal;color:var(--teal)}.auth-story p{color:#4c6d83;font-size:1.06rem;position:relative;z-index:1}.story-symbol{flex:1;display:flex;justify-content:flex-end;align-items:center;min-height:100px;opacity:.12;transform:rotate(-8deg) translate(20px,0)}.story-symbol img{width:290px;max-height:130px;object-fit:cover;object-position:top}.story-bottom{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #98cdd1;padding-top:22px;color:var(--teal-dark);font-size:.75rem}.auth-footer{display:flex;justify-content:space-between;padding:22px 4.5%;color:var(--muted);font-size:.75rem;background:#fff}.back-link{display:block;text-align:center;font-size:.9rem;margin-top:24px}
/* Portal shell */
.portal-header{height:90px;position:sticky;top:0;z-index:20;background:#fffffffa;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 30px;gap:25px;box-shadow:0 3px 13px #15274403}.brand-button{position:relative;display:flex;align-items:center;gap:5px;border:0;background:none;padding:0 12px 0 0;flex:none}.brand-button .brand-logo{width:158px;height:75px}.menu-hint{width:15px;color:var(--teal);opacity:.65}.top-nav{display:flex;align-items:stretch;height:100%;gap:8px;flex:1}.top-nav a{display:flex;align-items:center;gap:10px;border-bottom:3px solid transparent;padding:3px 17px 0;color:var(--navy);font-size:.875rem;white-space:nowrap}.top-nav a.active{color:var(--teal);border-color:var(--teal);font-weight:650}.top-nav a:hover{background:#f4f9fa}.profile-menu{position:relative;margin-left:auto;padding-left:22px;border-left:1px solid var(--line)}.profile-menu summary{display:flex;gap:10px;align-items:center;cursor:pointer;list-style:none;font-size:.875rem}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu summary>.icon{width:15px}.avatar{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--teal);color:white;font-weight:600;flex:none}.avatar.small{width:32px;height:32px;font-size:.8rem;background:#e5f1f3;color:var(--teal-dark)}.profile-popover{position:absolute;right:0;top:55px;min-width:270px;background:white;border:1px solid var(--line);padding:20px;border-radius:10px;box-shadow:0 15px 40px #16264120}.profile-popover>strong,.profile-popover>small{display:block}.profile-popover>small{color:var(--muted);margin:5px 0 15px}.profile-popover a{display:flex;gap:9px;padding:12px 0;border-top:1px solid var(--line);font-size:.875rem}.workspace{padding:0 34px 90px;max-width:1700px;margin:auto}.breadcrumbs{display:flex;gap:10px;align-items:center;min-height:67px;font-size:.8rem;color:var(--muted)}.breadcrumbs .icon{width:16px}.breadcrumbs>span>.icon{width:12px;opacity:.65}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:12px 0 32px}.page-heading p{color:var(--muted);margin-bottom:0;font-size:.95rem}.date-chip{display:flex;align-items:center;gap:10px;color:var(--muted);border:1px solid var(--line);padding:13px 17px;background:#fff;border-radius:8px;font-size:.875rem}.date-chip .icon{width:18px}.portal-footer{position:fixed;bottom:0;left:0;right:0;z-index:20;background:linear-gradient(100deg,#065f72,#007b88);height:47px;padding:0 30px;display:flex;align-items:center;gap:20px;color:#e4f1f4;font-size:.8rem}.portal-footer form{margin-left:auto}.footer-brand{margin-left:auto;opacity:.65}.portal-footer .icon-button:hover{background:#ffffff20}.side-menu{position:fixed;left:0;right:auto;top:0;bottom:0;margin:0;width:330px;max-width:90vw;height:100svh;max-height:none;border:0;border-right:1px solid var(--line);padding:23px 24px;background:#fff;color:var(--navy);box-shadow:20px 0 60px #10233120}.side-menu[open]{display:flex;flex-direction:column;animation:slide-in .2s ease-out}.side-menu::backdrop{background:#12243e65;backdrop-filter:blur(2px)}.drawer-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:24px;margin-bottom:20px;border-bottom:1px solid var(--line)}.drawer-head .brand-logo{width:155px;height:68px}.side-menu nav{display:flex;flex-direction:column;gap:6px}.side-menu nav a{display:flex;align-items:center;gap:15px;padding:15px 13px;border-radius:8px;font-size:.95rem;color:var(--navy)}.side-menu nav a.active{background:var(--pale);color:var(--teal-dark);font-weight:650}.side-menu nav a:hover{background:#f3f7f9}.nav-label{font-size:.7rem;letter-spacing:.13em;color:#8995a5;padding:25px 13px 10px}.drawer-footer{margin-top:auto;padding-top:30px;color:var(--muted);font-size:.8rem}.skip-link{position:absolute;top:-100px;z-index:60;background:white;padding:16px}.skip-link:focus{top:0}@keyframes slide-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}
/* Work surfaces */
.panel{background:white;border:1px solid #e8edf2;border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.panel-body{padding:26px}.panel-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:23px 25px;border-bottom:1px solid #eef1f5}.panel-heading h2{display:flex;align-items:center;gap:11px;margin:0}.panel-heading h2 .icon{color:var(--teal)}.panel-heading>a{font-size:.8rem}.panel-heading>a .icon{width:15px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:28px}.module-card{display:block;background:white;border:1px solid #e6ebf0;border-radius:var(--radius);padding:25px;color:var(--navy);box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s}.module-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px #1527410d}.module-icon{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;background:var(--pale);border-radius:10px;color:var(--teal);margin-bottom:18px}.module-icon .icon{width:26px;height:26px}.module-card-top{display:flex;align-items:center;justify-content:space-between;font-size:1rem;font-weight:600}.module-card-top>.icon{width:18px;color:#8193a6}.metric{display:block;font-size:2.6rem;line-height:1.3;letter-spacing:-.045em;margin-top:14px}.module-card>.muted{font-size:.8rem}.module-card>p{margin:19px 0 0;padding-top:17px;border-top:1px solid #edf1f4;color:var(--muted);font-size:.85rem}.admin-card{background:linear-gradient(145deg,#fff,#f0f7f8)}.dashboard-bottom{display:grid;grid-template-columns:1.7fr 1fr;gap:24px}.activity-list{padding:3px 25px 14px}.activity-list>div{display:flex;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid #edf1f5;font-size:.85rem}.activity-list>div:last-child{border-bottom:0}.activity-list time{margin-left:auto;color:var(--muted);font-size:.75rem}.status-dot{display:inline-block;width:8px;height:8px;flex:none;border-radius:50%;background:#28985b}.status-dot.red{background:#c75660}.welcome-note{position:relative;overflow:hidden;padding:31px 30px;border:1px solid #d8e9e9;border-radius:var(--radius);background:linear-gradient(130deg,#eaf4f4,#daeef0)}.welcome-note h2{font-size:1.65rem;line-height:1.25;letter-spacing:-.035em;font-weight:650;margin:25px 0 14px}.welcome-note p{color:#537486;max-width:260px;font-size:.9rem;margin-bottom:10px}.note-mark{position:absolute;right:20px;bottom:13px;opacity:.12;transform:rotate(-15deg)}.note-mark .icon{width:120px;height:120px}.empty{padding:65px 25px;text-align:center}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:66px;height:66px;border-radius:18px;background:var(--pale);color:var(--teal);margin-bottom:23px}.empty-icon .icon{width:30px;height:30px}.empty h3{font-size:1.25rem;letter-spacing:-.02em}.empty p{color:var(--muted);font-size:.9rem;max-width:430px;margin:0 auto}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:27px}.tabs a{padding:12px 3px 15px;color:var(--muted);font-size:.9rem;border-bottom:3px solid transparent}.tabs a.active{border-color:var(--teal);color:var(--teal);font-weight:650}.rights-toolbar{display:flex;align-items:center;gap:24px;margin-bottom:20px}.rights-toolbar>form:last-child{margin-left:auto}.compact{margin:0;min-width:235px}.compact>span{font-size:.75rem;color:var(--muted)}.rights-guide{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--muted)}.rights-guide .led.off{margin-left:13px}.info-strip{display:flex;gap:10px;align-items:flex-start;font-size:.8rem;line-height:1.65;color:#52667b;background:#ecf3f6;border:1px solid #dee9ef;padding:13px 17px;border-radius:8px;margin-bottom:22px}.info-strip .icon{width:18px;height:22px;color:var(--teal)}.rights-board{display:grid;grid-template-columns:1fr 1.15fr 1.15fr;gap:22px;align-items:stretch}.rights-column{border:1px solid #e0e6ed;border-radius:12px;background:#edf1f5;min-height:390px;padding:18px;transition:background .15s,border-color .15s}.rights-column.granted{background:#eef6f2;border-color:#d7e7df}.rights-column.denied{background:#f7f0f0;border-color:#ebdddd}.column-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.column-heading h2{display:flex;align-items:center;gap:9px;margin:0;font-size:1rem}.count{border:1px solid #dce2e9;background:#ffffff90;border-radius:5px;padding:3px 7px;font-size:.75rem;color:var(--muted)}.column-caption{font-size:.75rem;color:var(--muted);margin-bottom:18px}.search-field{display:flex;align-items:center;gap:9px;background:white;border:1px solid #dbe3ec;padding:0 12px;border-radius:7px;min-width:0}.search-field>.icon{width:18px;color:#7d8ca2}.search-field input{min-width:0;width:100%;background:none;border:0;min-height:42px;padding:9px 0;color:var(--navy);font-size:.85rem}.source .search-field{margin-bottom:16px}.person-card{padding:15px;background:#fff;border:1px solid #e0e6ed;border-radius:9px;box-shadow:0 2px 5px #15274103;margin-bottom:12px;cursor:grab}.person-card:active{cursor:grabbing}.person-top{display:flex;align-items:center;gap:10px}.person-top>div{min-width:0;flex:1}.person-top strong{display:block;font-size:.85rem;overflow-wrap:anywhere}.person-top small{display:block;font-size:.72rem;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.drag-handle{color:#b4bdc9;font-size:1.2rem}.text-button{background:none;border:0;padding:0;color:var(--teal);font-size:.75rem;display:flex;align-items:center;gap:7px;margin:14px 0 0}.text-button>.icon{width:13px;height:13px}.text-button.revoke{color:#8b6e76;margin-top:11px}.led-row{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding-top:15px;margin-top:13px;border-top:1px solid #eef1f3}.led-control{display:flex;flex-direction:column;align-items:center;gap:7px;background:none;border:1px solid transparent;border-radius:6px;padding:5px 2px;font-size:.7rem;color:var(--muted)}.led-control:hover{background:#f1f5f7;border-color:var(--line)}.led{display:inline-block;width:11px;height:11px;border-radius:50%;flex:none;box-shadow:inset 0 1px 2px #ffffff70,0 0 0 3px #dde3e930}.on>.led,.led.on{background:#2eac61;box-shadow:0 0 0 3px #2eac6118,inset 0 1px 2px #ffffff80}.off>.led,.led.off{background:#d35259;box-shadow:0 0 0 3px #d3525918,inset 0 1px 2px #ffffff80}.is-blocked{opacity:.65;cursor:default}.is-blocked>.badge{margin-top:10px}.drop-hint{margin-top:15px;border:1px dashed #c3d2d5;border-radius:7px;padding:18px;text-align:center;color:#87959f;font-size:.75rem}.rights-column.drag-over{background:#d6edf0;border:2px dashed var(--teal);padding:17px}.rights-board.saving{pointer-events:none;opacity:.7}.users-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:24px;align-items:start}.account-row{display:flex;align-items:center;gap:13px;padding:20px;border-bottom:1px solid var(--line)}.account-row:last-child{border-bottom:0}.account-info{flex:1;min-width:0}.account-info>strong{font-size:.9rem}.account-info>small{display:block;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.tag-row{display:flex;gap:5px;margin-top:9px}.account-actions{display:flex;flex-direction:column;gap:6px}.account-actions .button{width:100%}.check-label{display:flex;gap:9px;align-items:center;font-size:.9rem;margin:12px 0}.check-label input{accent-color:var(--teal);width:17px;height:17px}.invite-box{border:1px solid #9cd2c1;background:#edf9f4;padding:22px;border-radius:10px;margin-bottom:25px}.invite-box p{font-size:.85rem;color:var(--muted);margin:8px 0 15px}.copy-row{display:flex;gap:12px}.copy-row input{min-width:0;font-size:.8rem}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:normal;font-size:.875rem}th{font-size:.75rem;font-weight:600;color:var(--muted);padding:15px 23px;background:#fafbfd}td{padding:18px 23px;border-top:1px solid #edf1f5;line-height:1.5}td:first-child{white-space:nowrap}td .icon{width:19px;color:var(--teal)}.record-link{display:flex;align-items:center;gap:12px;color:var(--navy)}.list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.record-search{display:flex;gap:10px;width:min(600px,70%)}.record-search .search-field{flex:1}.segmented{display:flex;background:#eaf0f4;padding:4px;border-radius:8px}.segmented a{padding:9px 15px;font-size:.8rem;color:var(--muted);border-radius:5px}.segmented a.active{background:#fff;color:var(--teal-dark);box-shadow:0 2px 5px #15274109}.form-panel{max-width:900px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:24px;margin-top:25px}.file-input{border:1px dashed #bacdd9;border-radius:9px;padding:22px;background:#f8fbfc}.file-input input{background:white;font-size:.85rem}.detail-layout{display:grid;grid-template-columns:1.8fr 1fr;gap:24px;align-items:start}.detail-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:27px}.detail-actions{display:flex;gap:8px;margin-left:auto}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:35px}.detail-grid dt{font-size:.8rem;color:var(--muted);margin-bottom:8px}.detail-grid dd{margin:0;font-size:.95rem}.pre-wrap{white-space:pre-wrap;color:var(--muted);font-size:.9rem;overflow-wrap:anywhere}.attachment{display:flex;align-items:center;gap:13px;background:#f4f8fa;border:1px solid var(--line);padding:17px;border-radius:9px;margin:24px 0}.attachment>div{flex:1;min-width:0}.attachment strong{display:block;font-size:.85rem;overflow-wrap:anywhere}.attachment small{display:block;color:var(--muted);margin-top:4px}.detail-image{max-width:100%;max-height:420px;object-fit:contain;border-radius:8px}.history article{border-left:2px solid #cee2e5;padding:0 0 25px 18px}.history strong{font-size:.85rem;line-height:1.55;font-weight:500;display:block}.history small{color:var(--muted);display:block;margin-top:8px;font-size:.72rem}.history a{display:block;margin-top:10px;font-size:.8rem}.document-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:24px}.document-card{padding:20px;border:1px solid var(--line);border-radius:10px;color:var(--navy);overflow:hidden}.document-card:hover{border-color:#90c4cb;background:#f9fcfc}.document-card>.module-icon{display:flex}.document-card h3{margin:16px 0 10px}.document-card p{font-size:.85rem;color:var(--muted)}.document-card>small{color:var(--muted);font-size:.7rem;overflow-wrap:anywhere}.toast{position:fixed;bottom:65px;left:50%;transform:translateX(-50%);background:var(--navy);color:#fff;border-radius:9px;padding:14px 22px;z-index:100;box-shadow:0 5px 30px #17274125;font-size:.875rem;max-width:90vw}.toast[hidden]{display:none}
@media(min-width:1600px){.auth-main{max-height:900px}.workspace{padding-top:10px}.module-card{padding:30px}.page-heading{margin-bottom:38px}}
@media(max-width:1100px){.portal-header{gap:12px;padding:0 20px}.top-nav a{padding:3px 11px 0;gap:7px}.top-nav a .icon{width:18px}.brand-button .brand-logo{width:125px}.profile-name{display:none}.workspace{padding-left:22px;padding-right:22px}.rights-board{gap:12px}.rights-column{padding:12px}.person-card{padding:11px}.person-top small{font-size:.65rem}.rights-guide{display:none}.auth-main{gap:22px;padding:26px}.auth-card{padding:35px}.auth-story{padding:35px}.document-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.auth-main{grid-template-columns:1fr;max-width:620px}.auth-story{min-height:360px}.auth-story h2{font-size:2.5rem;margin-top:15px}.story-symbol{display:none}.auth-story p{margin-bottom:35px}.auth-header{height:85px;padding:8px 25px}.header-note{font-size:.75rem}.auth-header .brand-logo{width:140px;height:65px}.auth-footer{gap:20px;line-height:1.6}.auth-footer>span{display:none}.portal-header{height:76px}.top-nav a{padding-left:10px;padding-right:10px}.top-nav a:not(.active){display:none}.top-nav a.active{font-size:.8rem}.brand-button .brand-logo{height:63px}.profile-menu{padding-left:13px}.workspace{padding-left:18px;padding-right:18px}.page-heading{align-items:flex-start;margin-top:3px}.page-heading .date-chip{display:none}.page-heading h1{font-size:1.9rem}.page-heading>.button{font-size:.8rem}.module-grid{gap:13px}.module-card{padding:19px}.module-card-top{font-size:.9rem}.module-card>p{font-size:.75rem}.dashboard-bottom,.two-columns,.users-layout,.detail-layout{grid-template-columns:1fr}.rights-board{grid-template-columns:1fr}.rights-column{min-height:180px;padding:17px}.source .person-list{max-height:240px;overflow:auto}.person-top small{font-size:.8rem}.person-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.person-card{margin:0}.led-control{font-size:.7rem}.rights-toolbar{gap:10px}.rights-toolbar .compact{min-width:180px}.rights-toolbar .button{font-size:.75rem;padding:10px}.portal-footer{padding:0 15px;font-size:.7rem}.footer-brand{display:none}.document-grid{gap:13px;padding:18px}.activity-list time{font-size:.7rem}.auth-card h1{font-size:2rem}}
@media(max-width:520px){.auth-main{padding:18px 15px;gap:18px}.auth-card{padding:30px 23px}.auth-story{padding:30px 25px}.header-note{max-width:140px;text-align:right;line-height:1.5}.header-note .icon{display:none}.auth-story h2{font-size:2.35rem}.story-bottom{flex-direction:column;gap:7px}.portal-header{padding:0 14px;gap:7px}.brand-button{padding:0}.brand-button .brand-logo{width:118px}.top-nav{justify-content:flex-end}.top-nav a.active{gap:6px;padding:3px 8px 0}.top-nav a.active .icon{display:none}.profile-menu{padding-left:8px}.profile-menu summary>.icon{display:none}.avatar{width:34px;height:34px}.workspace{padding-left:15px;padding-right:15px}.page-heading{flex-direction:column;gap:17px}.page-heading p{font-size:.875rem}.module-grid{grid-template-columns:1fr}.module-card{position:relative;padding:21px}.module-card>.module-icon{float:right;margin:0}.module-card-top>.icon{display:none}.metric{font-size:2.1rem}.module-card>p{font-size:.85rem}.panel-heading{padding:20px;flex-wrap:wrap}.panel-body{padding:20px}.activity-list{padding:3px 17px 14px}.activity-list>div{gap:8px}.activity-list time{font-size:.65rem}.person-list{grid-template-columns:1fr}.rights-toolbar{flex-wrap:wrap}.rights-toolbar>form:last-child{margin-left:0}.rights-toolbar>form{width:100%}.rights-toolbar .button{width:100%}.tabs{gap:16px}.tabs a{font-size:.8rem}.form-grid,.detail-grid,.document-grid{grid-template-columns:1fr}.list-toolbar{align-items:stretch;flex-direction:column}.record-search{width:100%}.segmented{align-self:flex-start}.detail-actions{margin-left:0;flex-wrap:wrap}.attachment{flex-wrap:wrap}.account-row{align-items:flex-start;padding:16px 12px}.account-row>.avatar{display:none}.account-actions .button{font-size:.7rem}.copy-row{flex-direction:column}.record-search .button{padding:10px}.panel-heading>span{font-size:.75rem}.table-wrap td,th{padding:14px}.auth-hint{font-size:.75rem}.form-actions .button{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.account-edit{margin-bottom:24px}.account-edit summary{cursor:pointer;font-size:.9rem;color:var(--teal-dark)}.account-edit[open]>.form-grid{margin-top:25px;gap:24px}.account-edit form{padding:20px;background:#f8fafb;border:1px solid var(--line);border-radius:8px}.tabs{overflow:auto;white-space:nowrap}
/* Feedback: a smaller logo opens the drawer; the menu hint is mobile-only. */
.brand-button .brand-logo{width:130px;height:62px}.menu-hint{display:none}.drawer-head .brand-logo{width:135px;height:62px}
.dropzone{padding:25px;border:2px dashed #b9cfd7;transition:border-color .15s,background .15s;cursor:pointer}.dropzone-prompt{display:flex;align-items:center;flex-direction:column;gap:10px;padding:8px 0 12px;text-align:center}.dropzone-prompt>.icon{color:var(--teal);width:28px;height:28px}.dropzone-prompt>strong{font-size:1.05rem}.dropzone-prompt>span{font-size:.85rem;color:var(--muted);font-weight:400}.dropzone input[type=file]{background:#fff;cursor:pointer}.dropzone input[type=file]::file-selector-button{background:var(--teal);border:0;border-radius:5px;color:white;padding:9px 13px;margin-right:14px;cursor:pointer}.dropzone.drag-over{background:#dff2f2;border-color:var(--teal)}.dropzone:focus-within{border-color:var(--teal)}.dropzone.has-error{border-color:var(--red);background:#fff5f5}.selected-file{font-weight:500;font-size:.85rem;color:var(--teal-dark);overflow-wrap:anywhere}.selected-file:empty{display:none}.has-error .selected-file{color:var(--red)}.alias{font-family:inherit;color:var(--teal-dark)!important}
@media(max-width:800px){.brand-button .brand-logo{width:118px;height:58px}}
@media(max-width:600px){.menu-hint{display:block;width:19px;height:19px;margin-left:7px;opacity:1}.brand-button .brand-logo{width:108px;height:54px}.dropzone{padding:18px}.dropzone input[type=file]{font-size:.8rem}}

.avatar{object-fit:cover;flex-shrink:0}.avatar.large{width:80px;height:80px}.profile-avatar{display:flex;align-items:center;gap:20px;margin-bottom:20px}.profile-avatar input[type=color]{width:76px;height:44px;padding:4px;cursor:pointer}.contact-profile-row{padding:16px 0;border-bottom:1px solid #e6ecee;margin-bottom:12px}.contact-profile-row .field{margin-bottom:8px}

.existing-users{min-width:0}.existing-users .account-edit .form-grid{grid-template-columns:1fr}

.rights-board{grid-template-columns:repeat(2,minmax(0,1fr))}.rights-search{max-width:520px;margin-bottom:20px}.person-card[hidden]{display:none}@media(max-width:800px){.rights-board{grid-template-columns:1fr}}

.module-picker{display:flex;flex-direction:column;gap:9px;margin-bottom:20px}.module-buttons{display:flex;flex-wrap:wrap;gap:10px}.rights-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.rights-controls .rights-search{flex:1;margin-bottom:0}.rights-controls>form{flex-shrink:0}@media(max-width:600px){.rights-controls{flex-direction:column;align-items:stretch}.rights-controls .rights-search{max-width:none}.rights-controls>form{align-self:flex-end}}

.contact-details>div{padding:12px 0;border-bottom:1px solid var(--line)}.contact-details dt{font-size:.8rem;color:var(--muted)}.contact-details dd{margin:7px 0;overflow-wrap:anywhere}.contact-details .badge{margin-top:8px}.existing-users>.panel{margin-bottom:24px}

.membership-badge[data-kind="staff"]{background:#d9f2e5;color:#175c3c;border:1px solid #a8d8bd}.membership-badge[data-kind="internal"]{background:#e1ecfa;color:#234e80;border:1px solid #b5cdec}.membership-badge[data-kind="external"]{background:#fff0d4;color:#79500b;border:1px solid #ebcf94}.membership-badge[data-kind="client"]{background:#eee4fa;color:#633985;border:1px solid #d3b7e8}.admin-badge{background:#263e56;color:#fff;border:1px solid #263e56}.tag-row{flex-wrap:wrap}

.accounts-heading{align-items:flex-start;flex-wrap:wrap;gap:18px}.accounts-heading h2{white-space:nowrap}.account-filters{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-left:auto;max-width:100%}.account-filter{cursor:pointer;min-height:34px;padding:6px 10px;opacity:.7}.account-filter:hover{opacity:1}.account-filter[aria-pressed="true"]{opacity:1;outline:2px solid var(--navy);outline-offset:2px}.account-filter:focus-visible{outline:3px solid var(--teal);outline-offset:3px}.account-row[hidden]{display:none}.account-filter-status{padding:0 24px}@media(max-width:600px){.account-filters{justify-content:flex-start;margin-left:0}}

/* Shared list-filter language: coloured category, green LED beneath active choices. */
.account-filter,.list-filter{position:relative;overflow:visible;margin-bottom:10px;transition:opacity .15s,background-color .15s}.account-filter[aria-pressed="true"],.list-filter[aria-pressed="true"]{outline:none;opacity:1}.account-filter::after,.list-filter::after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;bottom:-10px;left:calc(50% - 3.5px);background:#c2ccc7;box-shadow:inset 0 1px 2px #0002;pointer-events:none}.account-filter[aria-pressed="true"]::after,.list-filter[aria-pressed="true"]::after{background:#28c66b;box-shadow:0 0 0 2px #28c66b18,0 0 8px #28c66b88,inset 0 1px 2px #ffffff90}.account-filter:focus-visible,.list-filter:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.list-filters{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.list-filter{cursor:pointer;border:1px solid var(--line);background:#edf3f7;color:var(--navy);padding:7px 12px;border-radius:6px;min-height:36px}.contact-filter-status{margin:12px 0}.contact-row[hidden]{display:none}

/* Active filters glow around the button itself. */
.account-filter::after,.list-filter::after{content:none}.account-filter,.list-filter{margin-bottom:0;transition:box-shadow .18s,border-color .18s,opacity .18s}.account-filter[aria-pressed="true"],.list-filter[aria-pressed="true"]{border-color:#49bc7c;box-shadow:0 0 0 1px #43c47b55,0 0 10px #35c97560,0 4px 15px #35c97535;outline:none;opacity:1}.account-filter:focus-visible,.list-filter:focus-visible{outline:2px solid var(--teal);outline-offset:4px}

.import-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:start;gap:12px}.contact-import{margin-left:auto}.contact-import summary{display:flex;align-items:center;gap:6px;cursor:pointer;color:var(--teal);padding:4px}.contact-import[open]{flex-basis:100%}.contact-import[open] summary{justify-content:flex-end}.import-content{padding:16px;background:#f5f9fa;border:1px solid var(--line);border-radius:9px;margin-bottom:18px}.import-content select{margin-bottom:12px}.import-content [hidden]{display:none}

.contact-search{width:100%;max-width:none;align-items:center}.contact-search-field{flex:1;min-width:0;margin:0}.contact-search-field input{width:100%;min-height:44px}.contact-row{cursor:pointer}.contact-row:hover{background:#f3f8f7}.record-dialog{width:min(850px,calc(100vw - 32px));max-height:88vh;overflow:auto;padding:28px;border:1px solid #dce7e9;border-radius:16px;background:white;color:var(--navy);box-shadow:0 20px 80px #102a3540}.record-dialog::backdrop{background:#132b4266;backdrop-filter:blur(3px)}.record-dialog[open]{animation:record-enter .2s ease-out}.record-dialog-header{display:flex;justify-content:space-between;align-items:start;gap:20px;border-bottom:1px solid var(--line);padding-bottom:18px}.record-dialog-header h2{margin:0;overflow-wrap:anywhere}.record-dialog-header button{flex-shrink:0}.contact-qr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.qr-card{padding:18px;background:#f5f9fa;border:1px solid var(--line);border-radius:10px;text-align:center}.qr-card img{display:block;width:100%;max-width:300px;height:auto;margin:12px auto;image-rendering:pixelated}.contact-details dd{white-space:pre-wrap}@keyframes record-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:600px){.contact-qr-grid{grid-template-columns:1fr}.record-dialog{padding:18px}}@media(prefers-reduced-motion:reduce){.record-dialog[open]{animation:none}}

/* Compact record view: identity first, details and QR actions side by side. */
#contact-dialog{width:min(1180px,calc(100vw - 40px));padding:24px}.contact-title-name{font-size:1.3rem}.contact-title-context{display:inline-flex;flex-wrap:wrap;gap:6px 16px;margin-left:20px;font-size:.9rem;font-weight:400;color:var(--muted)}.contact-title-context>span+span:before{content:"·";margin-right:16px;color:var(--muted)}.contact-value-shared{color:#2879a5}.contact-value-private{color:#b13b42}.contact-legend{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:.78rem;margin:14px 0 18px}.contact-modal-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.95fr);gap:30px;align-items:start}.contact-modal-values .contact-details{margin:0}.contact-modal-values .contact-details>div{display:grid;grid-template-columns:135px minmax(0,1fr);gap:12px;padding:9px 0}.contact-modal-values .contact-details dt{font-size:.78rem;padding-top:2px}.contact-modal-values .contact-details dd{font-size:.9rem;margin:0;line-height:1.45}.contact-modal-qr .qr-card{padding:12px}.contact-modal-qr .qr-card h3{font-size:.85rem;margin:0;min-height:2.4em}.contact-modal-qr .qr-card img{max-width:230px;margin:8px auto}.contact-modal-qr .button{font-size:.78rem;padding:9px}.contact-modal-qr .small-text{line-height:1.5;margin-bottom:0}.contact-modal-qr .contact-qr-grid{gap:12px}@media(max-width:850px){.contact-modal-layout{grid-template-columns:1fr}.contact-title-context{display:flex;margin:8px 0 0}.contact-modal-qr .qr-card img{max-width:240px}}@media(max-width:600px){#contact-dialog{padding:18px}.contact-modal-values .contact-details>div{grid-template-columns:105px minmax(0,1fr)}.contact-modal-qr .contact-qr-grid{grid-template-columns:1fr 1fr;gap:8px}}@media(max-width:400px){.contact-modal-qr .contact-qr-grid{grid-template-columns:1fr}}

/* Readable contact typography with an icon-only close control. */
#contact-dialog .contact-title-name{font-size:1.65rem}#contact-dialog .contact-title-context{font-size:1.08rem}#contact-dialog .contact-legend{font-size:.88rem;margin:16px 0 20px}#contact-dialog .contact-modal-values .contact-details>div{grid-template-columns:145px minmax(0,1fr);padding:13px 0}#contact-dialog .contact-modal-values .contact-details dt{font-size:.95rem}#contact-dialog .contact-modal-values .contact-details dd{font-size:1.08rem;line-height:1.5}#contact-dialog .record-close{width:44px;height:44px;border-radius:8px}#contact-dialog .record-close:hover{background:#edf3f5}#contact-dialog .record-close:focus-visible{outline:2px solid var(--teal);outline-offset:3px}@media(max-width:600px){#contact-dialog .contact-title-name{font-size:1.4rem}#contact-dialog .contact-title-context{font-size:1rem}#contact-dialog .contact-modal-values .contact-details>div{grid-template-columns:105px minmax(0,1fr)}#contact-dialog .contact-modal-values .contact-details dd{font-size:1rem}}

/* Vertically balance the complete details block against QR actions. */
#contact-dialog .contact-modal-layout{align-items:center;margin-top:20px}#contact-dialog .contact-modal-values .contact-legend{margin-top:0;margin-bottom:16px}@media(max-width:850px){#contact-dialog .contact-modal-layout{align-items:start}}

a.email-link,a.email-link:visited,a.email-link:hover{color:inherit;text-decoration:none;cursor:pointer}a.email-link:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:2px}

.contact-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}.contact-columns.single-group{grid-template-columns:1fr}.contact-group{min-width:0}.contact-group>h3{margin:0;padding:0 12px 12px;border-bottom:1px solid var(--line);font-size:1rem}.contact-group .contact-row{padding:16px 12px;gap:12px;align-items:center}.contact-group .account-info strong{overflow-wrap:anywhere}.contact-group[hidden],.contact-group [data-group-empty][hidden]{display:none}@media(max-width:1100px){.contact-columns{grid-template-columns:1fr}}

.website-link,.website-link:visited{color:inherit;text-decoration:none}.website-link:hover{text-decoration:underline}.website-link:focus-visible{outline:2px solid var(--teal);outline-offset:3px}

[data-person-only][hidden]{display:none}

.task-row{cursor:pointer}.task-row:hover{background:#f4f9f8}.task-row[hidden]{display:none}.task-title{background:none;border:0;padding:0;text-align:left;font:inherit;font-weight:600;color:var(--teal-dark);cursor:pointer;overflow-wrap:anywhere}.task-title:focus-visible{outline:2px solid var(--teal);outline-offset:3px}#task-dialog .button{margin:8px 10px 0 0}

.task-status-open,[data-task-filter="open"]{background:#fff0d3;color:#8a4800;border:1px solid #ecb45e}.task-row[data-status="open"]{border-left:4px solid #e99324}.task-notifications{margin-bottom:24px}.task-notice{display:flex;align-items:center;gap:12px;padding:10px 0}.task-notice>span:first-of-type{flex:1}.task-discussion{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.task-comment{padding:14px;margin:12px 0;background:#f3f7f8;border-radius:8px}.task-comment p{white-space:pre-wrap;overflow-wrap:anywhere}.task-comment small{color:var(--muted)}.task-comment-form textarea{width:100%;min-height:100px}.task-comment-form{margin-top:18px}

.task-assignee-picker{border:1px solid var(--line);border-radius:8px;padding:14px;margin:0 0 20px;max-height:270px;overflow:auto}.task-assignee-picker legend{font-size:.9rem}.task-avatar{display:inline-flex;vertical-align:middle;margin-right:5px}.task-avatar .avatar{width:32px;height:32px}.task-person-chip{display:inline-flex;align-items:center;gap:8px;margin:3px 16px 3px 0}.task-person-chip .avatar{width:32px;height:32px}

.todo-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:start}.todo-column{padding:18px;background:#edf2f5;border:1px solid var(--line);border-radius:12px;min-width:0;min-height:250px}.todo-column[data-todo-state="open"]{border-top:4px solid #e99324}.todo-column[data-todo-state="progress"]{border-top:4px solid #4285b5}.todo-column[data-todo-state="done"]{border-top:4px solid #2c9c68}.todo-card{background:#fff;border:1px solid var(--line);padding:18px;border-radius:10px;margin-bottom:16px;box-shadow:var(--shadow)}.todo-card[draggable="true"]{cursor:grab}.todo-avatars{margin-top:12px}.todo-card-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.todo-card-fields .field:last-child{grid-column:1/-1}.todo-card-fields .field{margin:0}.todo-card-fields input,.todo-card-fields select{width:100%;min-width:0}.todo-card [data-todo-feedback]{display:block;margin:10px 0}.priority-high,.due-overdue{background:#fce2e2;color:#a12d37}.priority-normal{background:#e0effa;color:#245a80}.priority-low,.due-none{background:#edf0f2;color:#586675}.due-today{background:#ffebc7;color:#925100}.due-future,.due-done{background:#ddf3e6;color:#24623f}.todo-column.drag-over{outline:2px dashed var(--teal);background:#deeeeb}.todo-board.saving{pointer-events:none;opacity:.75}.todo-empty[hidden]{display:none}@media(max-width:1000px){.todo-board{grid-template-columns:1fr}.todo-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.todo-card{margin:0}}@media(max-width:600px){.todo-cards{grid-template-columns:1fr}}

/* Personal card colors use the portal palette; selection keeps the shared green glow. */
[data-card-color="teal"]{--card-color:#008496}[data-card-color="blue"]{--card-color:#4285b5}[data-card-color="orange"]{--card-color:#e99324}[data-card-color="green"]{--card-color:#2c9c68}[data-card-color="red"]{--card-color:#cd5260}[data-card-color="purple"]{--card-color:#8a6ba8}[data-card-color="gray"]{--card-color:#8293a7}
.todo-card{position:relative;overflow:hidden}.todo-card:not([data-card-color="none"])[data-card-position="side"]{border-left:6px solid var(--card-color)}.todo-card:not([data-card-color="none"])[data-card-position="top"]{border-top:10px solid var(--card-color)}.todo-column[data-todo-state="waiting"]{border-top:4px solid #c4a132}.todo-options{margin-top:14px}.todo-options summary{cursor:pointer;font-size:.85rem;color:var(--teal)}.task-card-tools,.task-checklist,.task-activity{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}.task-color-choices{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:14px}.task-color-choice{border-bottom:5px solid var(--card-color,var(--line))}.task-color-choice[aria-pressed="true"]{box-shadow:0 0 10px #34c87a80;border-color:#34c87a}.task-checklist .check-label{padding:10px 0}.task-checklist input:checked+span{text-decoration:line-through;color:var(--muted)}.task-checklist .record-search{align-items:end}.task-checklist .field{flex:1}.task-activity summary{cursor:pointer}.task-activity small{display:block;color:var(--muted)}
@media(min-width:1001px) and (max-width:1350px){.todo-board{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Dedicated To-Dos workspace */
.todo-page .workspace{max-width:none;padding-top:22px}.todo-page .breadcrumbs{margin-bottom:18px}.todo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.todo-scope{display:flex;gap:14px}.todo-scope .button{font-size:1.15rem;font-weight:700;min-width:140px;padding:15px 26px}.todo-archive-nav{display:flex;gap:8px}.todo-private{background:#f0ecf7}.todo-private .workspace{background:#f0ecf7}.todo-private .todo-column{background:#e8e2f1;border-color:#d6cce2}.todo-private .todo-scope [aria-pressed="true"]{background:#fff}.todo-page .todo-board{display:flex;align-items:stretch;gap:18px;overflow-x:auto;padding:3px 3px 20px;min-height:calc(100vh - 260px)}.todo-page .todo-column{flex:1 0 290px;min-width:290px;padding:0;display:flex;flex-direction:column;transition:flex-basis .18s ease,min-width .18s ease}.todo-page .column-heading{display:flex;align-items:center;gap:9px;margin:0;padding:15px 12px;border-bottom:1px solid var(--line)}.todo-page .column-heading h2{font-size:1rem;flex:1;margin:0}.todo-page .todo-collapse{width:28px;height:30px;padding:5px;flex-shrink:0}.todo-page .todo-collapse svg{transform:rotate(90deg)}.todo-page .todo-column-content{display:flex;flex-direction:column;flex:1;padding:14px}.todo-page .todo-cards{display:block}.todo-page .todo-card{margin-bottom:14px;padding:16px}.todo-page .todo-add{font-size:1.2rem}.todo-page .todo-add-footer{font-size:.95rem;display:block;text-align:left;background:transparent;border:0;border-top:1px solid var(--line);color:var(--teal);padding:16px 2px 2px;margin-top:auto;cursor:pointer}.todo-column-add{flex:0 0 180px;align-self:flex-start;min-height:100px;border:1px dashed #b5a4c8;background:transparent;border-radius:12px;color:#68557e;cursor:pointer;font:inherit}.todo-page .todo-column.collapsed{flex:0 0 62px;min-width:62px}.todo-page .collapsed .column-heading{flex-direction:column;min-height:230px;border:0}.todo-page .collapsed h2{writing-mode:vertical-rl;flex:0;margin:10px 0}.todo-page .collapsed .todo-column-content,.todo-page .collapsed .todo-add{display:none}.todo-page .collapsed .todo-collapse svg{transform:rotate(0deg)}.todo-page .todo-card-actions{display:flex;flex-wrap:wrap;gap:6px}.todo-page .todo-card [data-todo-feedback]:empty{display:none}.todo-create-dialog{max-width:620px}.todo-archive-title{font-size:1.25rem;margin-bottom:18px}.todo-page .todo-empty{margin:0 0 12px}.todo-page .todo-column.drag-over{outline:2px dashed var(--teal)}
@media(max-width:600px){.todo-toolbar{gap:12px;flex-wrap:wrap}.todo-scope{flex:1}.todo-scope .button{min-width:0;flex:1;padding:12px 20px}.todo-page .todo-column{flex-basis:280px;min-width:280px}.todo-page .todo-board{min-height:65vh}}
@media(prefers-reduced-motion:reduce){.todo-page .todo-column{transition:none}}

.todo-page .todo-archive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px;align-items:start}.todo-page .archive-card{margin:0;padding:15px 17px}.archive-card[data-status="done"] .task-title{text-decoration:line-through;color:var(--muted)}.archive-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.9rem;margin:10px 0;color:var(--muted)}.archive-source{display:block;color:var(--muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;margin:10px 0}.todo-page .archive-card .todo-card-actions{border-top:1px solid var(--line);padding-top:11px;align-items:center}.archive-delete{margin-left:auto}.todo-fullscreen{width:44px;height:44px;align-self:center;margin-left:8px}.todo-fullscreen svg{width:22px;height:22px}.fullscreen-close,.todo-focus .fullscreen-open{display:none}.todo-focus .fullscreen-close{display:block}.todo-focus .portal-header,.todo-focus .breadcrumbs{display:none}.todo-focus .workspace{padding:18px 22px;max-width:none}.todo-focus .todo-board{min-height:calc(100dvh - 115px)}.todo-focus .todo-toolbar{margin-bottom:18px}.todo-focus{height:100dvh;overflow:auto}.todo-just-taken{animation:todo-arrived 3s ease-out}@keyframes todo-arrived{from{box-shadow:0 0 0 3px #34c87a,0 0 20px #34c87a70}to{box-shadow:var(--shadow)}}
@media(max-width:600px){.todo-page .todo-archive-grid{grid-template-columns:1fr}.todo-focus .workspace{padding:12px}.todo-fullscreen{margin-left:3px}}
@media(prefers-reduced-motion:reduce){.todo-just-taken{animation:none;outline:2px solid #34c87a}}

/* Deliberately distinct personal backgrounds; cards keep a neutral reading surface. */
.todo-page{--private-bg:#af8bde;--private-line:#9270bf}.todo-page[data-todo-theme="rose"]{--private-bg:#dda0b8;--private-line:#b87991}.todo-page[data-todo-theme="amber"]{--private-bg:#dbb078;--private-line:#b18a53}.todo-page[data-todo-theme="sage"]{--private-bg:#9abb84;--private-line:#77965f}.todo-private,.todo-private .workspace{background:var(--private-bg)}.todo-private .todo-column{background:rgba(255,255,255,.65);border-color:var(--private-line)}.todo-private .todo-column-add{color:#293449;border-color:var(--private-line);background:rgba(255,255,255,.4)}.todo-private .todo-archive-title,.todo-private .breadcrumbs{color:#273047}.todo-theme-picker{position:relative;margin-left:auto}.todo-theme-picker summary{cursor:pointer;list-style:none}.todo-theme-options{position:absolute;z-index:10;right:0;top:100%;margin-top:8px;display:flex;gap:8px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}[data-todo-theme-choice="violet"]{background:#af8bde}[data-todo-theme-choice="rose"]{background:#dda0b8}[data-todo-theme-choice="amber"]{background:#dbb078}[data-todo-theme-choice="sage"]{background:#9abb84}[data-column-rename]{cursor:text}.todo-column-title-input{width:100%;min-width:0;padding:6px;border:1px solid var(--teal);border-radius:5px;font:inherit}.todo-page .collapsed h2:has(input){writing-mode:horizontal-tb;min-width:150px;background:#fff;padding:5px;position:relative;z-index:5}.todo-toolbar[aria-busy="true"]{opacity:.7}
@media(max-width:650px){.todo-theme-picker{margin-left:0}.todo-theme-options{right:auto;left:0;flex-wrap:wrap;min-width:250px}}

.todo-card [hidden]{display:none!important}.task-color-choice[aria-pressed="true"]{border-color:var(--card-color,#8293a7);box-shadow:0 0 10px var(--card-color,#8293a7)}.task-color-choice[aria-pressed="true"]::after{content:" ✓";font-weight:700}.task-check-add{display:flex;gap:10px;align-items:flex-end;margin-top:14px}.task-check-add .field{flex:1;margin:0}.task-check-add .button{flex-shrink:0;min-height:48px}.task-modal-archive{display:flex;justify-content:flex-end;margin-top:18px}.task-description-editor{margin-top:16px}.task-inline-title{width:100%;font:inherit;padding:5px 8px;border:1px solid var(--teal);border-radius:5px}.todo-drop-before{outline:2px dashed var(--teal);outline-offset:4px}@media(max-width:600px){.task-check-add{flex-wrap:wrap}.task-check-add .field{flex-basis:100%}}

.task-modal-archive{border-top:1px solid var(--line);padding-top:18px;margin-top:24px}.task-modal-priority{max-width:240px}.stripe-preview{position:relative;padding:12px 20px!important;overflow:hidden}.stripe-preview-side{border-left:6px solid var(--teal)!important}.stripe-preview-top{border-top:6px solid var(--teal)!important}.todo-card{user-select:none}.todo-card input,.todo-card textarea{user-select:text}.todo-drop-before{outline:none!important;box-shadow:0 -4px 0 var(--teal)!important}.todo-drop-end::after{content:"";display:block;border-top:4px solid var(--teal);margin:5px 0 10px}

/* Reserve the fixed footer and a visible background gutter around the board. */
.todo-page{--todo-footer-height:47px;--todo-footer-gap:28px}.todo-page .workspace{padding-bottom:calc(var(--todo-footer-height) + var(--todo-footer-gap))}.todo-focus .workspace{height:calc(100dvh - var(--todo-footer-height));box-sizing:border-box;display:flex;flex-direction:column;overflow:auto;padding-bottom:var(--todo-footer-gap)}.todo-focus .todo-toolbar{flex-shrink:0}.todo-focus .todo-board{flex:1;min-height:0;overflow:auto}.todo-focus .todo-archive-grid{flex-shrink:0}

.todo-card-meta{display:flex;align-items:center;gap:10px;margin-top:10px;color:var(--muted);font-size:.8rem}.todo-check-count{margin-left:auto}.todo-column-grip{cursor:grab;flex-shrink:0;width:26px;padding:3px}.todo-column-grip:active{cursor:grabbing}.todo-page .collapsed .todo-column-grip{display:block}.task-modal-priority{margin-top:12px}

.todo-card-counters{display:flex;gap:7px;margin-left:auto}.todo-counter{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);cursor:pointer;padding:5px 8px}.todo-counter svg{width:15px;height:15px;flex-shrink:0}.todo-counter:hover{background:#d8ebf4}.task-checklist,.task-discussion{scroll-margin-top:20px}.todo-column.column-in-transit{opacity:.4}.todo-column-ghost{position:fixed!important;top:0;left:0;width:290px!important;min-width:290px!important;max-height:65vh;overflow:hidden;pointer-events:none;z-index:9999;opacity:.72;background:#e8edf3!important;box-shadow:0 14px 36px #15283b66;transform:rotate(1deg)}.todo-private .todo-column-ghost{background:var(--private-bg)!important}.todo-column-ghost .todo-column-content{padding:12px}.todo-column-ghost .todo-card{padding:12px;margin-bottom:10px}.todo-column-ghost .column-heading{display:flex;align-items:center;gap:8px;padding:12px}.todo-column-ghost .column-heading h2{font-size:1rem;margin:0}

.task-private-scheduling{align-items:start;margin-top:12px}.task-private-scheduling .task-modal-priority{max-width:none;margin-top:0}

.todo-column-footer{display:flex;align-items:center;border-top:1px solid var(--line);padding-right:12px}.todo-column-footer .todo-add-footer{flex:1;border-top:0;text-align:left}.todo-column-footer>[data-column-delete]{color:var(--muted)}.todo-column-footer>[data-column-delete]:hover{color:#c33}

.todo-page .todo-column-footer{margin-top:auto;align-items:center;min-height:48px;padding-right:0}.todo-page .todo-column-footer .todo-add-footer{border-top:0;margin-top:0;padding:12px 2px}.todo-column-footer>[data-column-delete]{margin-left:auto;align-self:center}.column-card-choice{border:1px solid var(--line);border-radius:8px;padding:16px}.column-card-choice>label{display:block;margin:12px 0}.column-card-choice input[type=radio]{width:auto;margin-right:8px}

/* Portal scrollbars: native sizing and interaction, branded colors. */
:root{scrollbar-color:var(--teal) var(--line)}
@media(forced-colors:active){:root{scrollbar-color:auto}}

.task-modal-leave{display:flex;justify-content:flex-end;border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.task-linked-contact{display:block;font-size:.9rem;margin:12px 0 18px}.todo-avatars{display:flex;flex-wrap:wrap;gap:6px}

.task-notes{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);scroll-margin-top:20px}

.task-comment-author{display:flex;align-items:center;gap:10px;margin-bottom:10px}.task-comment-author>div{display:flex;flex-direction:column;gap:3px}.task-comment-author small{color:var(--muted)}.task-comment-reply{margin-left:28px;border-left:3px solid #bdd4de}.task-comment p{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){.task-comment-reply{margin-left:14px}}

.task-nav-unread{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin-left:5px;border-radius:12px;background:#b73943;color:#fff;font-size:.75rem;font-weight:700;line-height:1}.task-nav-unread[hidden]{display:none}

.task-card-unread{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:10px;background:#b73943;color:white;font-size:.7rem;font-weight:700;vertical-align:middle}.task-card-unread[hidden]{display:none}

/* Digital project master sheet */
.project-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:24px}.project-toolbar .field{margin:0;flex:1;min-width:190px}.project-board{display:flex;gap:18px;overflow:auto;padding:3px 3px 26px;min-height:55vh}.project-column{flex:1 0 255px;background:#eaf0f4;border:1px solid var(--line);border-radius:12px;padding:14px}.project-column>h2{display:flex;justify-content:space-between;align-items:center;font-size:.95rem;padding-bottom:14px;border-bottom:1px solid #d5dfe8}.project-column[data-project-column=review]{border-top:4px solid #e99324}.project-column[data-project-column=approved],.project-column[data-project-column=done]{border-top:4px solid #2c9c68}.project-column[data-project-column=rejected]{border-top:4px solid #b73943}.project-card{background:white;border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:14px;box-shadow:var(--shadow);cursor:pointer}.project-card[draggable=true]{cursor:grab}.project-card-description{font-size:.85rem;color:var(--muted);margin:12px 0}.project-card-symbols{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0;color:var(--teal)}.project-card-symbols .icon{width:20px;height:20px}.project-card-lead{display:flex;align-items:center;gap:8px;font-size:.8rem}.project-card-lead small{margin-left:auto}.project-column.drag-over{outline:2px dashed var(--teal)}.project-dialog{max-width:1100px;width:calc(100% - 36px)}.project-choice-group{border:0;padding:0;margin:26px 0}.project-choice-group legend{font-weight:700;margin-bottom:16px}.project-choices{display:flex;flex-wrap:wrap;gap:10px}.project-choice{position:relative;flex:1 0 105px;max-width:160px;cursor:pointer}.project-choice>input{position:absolute;opacity:0;width:1px;height:1px}.project-choice>span,.project-symbol{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;border:1px solid var(--line);border-radius:10px;padding:14px 9px;font-size:.78rem;min-height:100px;color:#8594a2;background:#f6f8fa}.project-choice .icon,.project-symbol .icon{width:31px;height:31px}.project-choice input:checked+span{color:var(--teal);background:#eaf5f5;border-color:#3fb87b;box-shadow:0 0 9px #22b66944}.project-choice input:focus-visible+span{outline:3px solid var(--teal);outline-offset:3px}.project-symbol{flex:1 0 105px;max-width:150px;opacity:.55}.project-symbol.selected{opacity:1;color:var(--teal);background:#eaf5f5;border-color:#b8dadd}.project-sheet-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:4px solid var(--teal);padding-bottom:18px;margin-bottom:24px;font-size:1.1rem;font-weight:700;color:var(--teal-dark)}.project-sheet-brand small{display:block;font-weight:400;color:var(--muted);margin-top:6px}.project-sheet-brand img{width:125px;height:65px;object-fit:contain}.project-sheet-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.project-sheet-title h2{font-size:1.6rem;flex-basis:100%;margin-bottom:3px}.project-sheet-lead{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:24px 0;font-size:.9rem}.project-sheet-block{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.project-sheet-block h3{color:var(--navy)}.project-sheet-block p{overflow-wrap:anywhere}.project-resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.project-resource-icons{display:flex;gap:6px;flex-wrap:wrap;color:var(--teal);margin-bottom:12px}.project-resource-icons>.icon{width:30px;height:30px}.project-resource-grid small{display:block;color:var(--muted);font-size:.75rem;margin-top:8px}.project-approved{background:#dcf4e6;color:#186b40}.project-vote{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;background:#f1f6f7;margin:10px 0;border-radius:8px}.project-vote p{flex-basis:100%;margin:0}.project-sheet-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:20px;margin-top:25px}@media(max-width:650px){.project-resource-grid{grid-template-columns:1fr}.project-sheet-brand{font-size:.9rem}.project-dialog{width:calc(100% - 16px)}.project-choice{flex-basis:95px}.project-sheet-title h2{font-size:1.3rem}}

.mail-settings-panel{margin-top:24px}.mail-account-editor{border-top:1px solid var(--line);padding:18px 0}.mail-account-editor summary{cursor:pointer;color:var(--teal-dark);font-weight:600}.mail-account-editor form{padding-top:20px}

.project-choice-group .project-choices,.project-symbols{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}.project-choice-group .project-choice,.project-symbols .project-symbol{min-width:0;max-width:none}.project-choice>span,.project-symbol{padding:12px 5px;overflow-wrap:anywhere;hyphens:auto}.project-resource-picker{border:0;padding:0;margin:26px 0}.project-resource-picker legend{font-weight:700;margin-bottom:15px}.project-people-row{display:flex;gap:20px;align-items:center}.project-heads{display:flex;flex:1;gap:8px}.project-head{flex:1;min-width:0;border:0;padding:6px 1px;background:transparent;color:#d1dce3;cursor:pointer;border-radius:6px}.project-head svg{width:100%;max-width:37px;height:42px}.project-head[aria-pressed=true]{color:var(--teal)}.project-head:hover{background:#eaf5f5}.project-people-number{width:90px;flex:none}.project-people-number input{padding:10px}.project-budget-row{display:flex;align-items:center;gap:18px;margin-bottom:12px}.project-budget-visual{flex:1;min-width:100px}.project-budget-amount{width:180px;flex:none}.project-budget-currency{width:100px;flex:none}.project-budget-row .field,.project-people-row .field{margin-bottom:0}.project-coins{display:flex;justify-content:space-between;gap:6px;margin-bottom:12px;color:#d1dce3}.project-coins .icon{width:28px;height:25px}.project-coins .selected{color:var(--teal)}[data-project-budget-slider]{width:100%;accent-color:var(--teal);cursor:pointer;min-height:28px}@media(max-width:850px){.project-choice-group .project-choices,.project-symbols{grid-auto-columns:105px;overflow-x:auto;padding:4px 3px 12px}.project-heads{gap:3px}.project-budget-row{gap:10px}.project-budget-amount{width:130px}.project-budget-currency{width:85px}.project-coins{gap:1px}.project-coins .icon{width:20px}}@media(max-width:520px){.project-budget-row{flex-wrap:wrap}.project-budget-visual{flex-basis:100%}.project-budget-amount{flex:1}.project-people-row{gap:8px}.project-heads{flex-wrap:wrap}.project-head{flex:0 0 calc(16.66% - 3px)}.project-people-number{width:75px}}

.project-deciders{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.project-decider{--decision-color:#8995a3;display:inline-flex;position:relative;border:4px solid var(--decision-color);border-radius:50%;padding:3px;background:white}.project-decider.decision-approve{--decision-color:#219765}.project-decider.decision-question{--decision-color:#e4b522}.project-decider.decision-reject{--decision-color:#d34960}.decision-symbol{position:absolute;right:-7px;bottom:-6px;border:2px solid white;border-radius:50%;background:var(--decision-color);color:#fff;width:18px;height:18px;display:grid;place-items:center;font-size:12px;font-weight:800;line-height:1}.decision-question .decision-symbol{color:#25334b}.project-decider:focus-visible{outline:2px solid #00788a;outline-offset:3px}

.project-timing-fields{display:grid;grid-template-columns:minmax(0,1fr);max-width:520px}.project-timing-fields [hidden]{display:none!important}

.project-board>.project-column{flex:1 0 280px;min-width:280px}.project-card{padding:18px}.project-card .tag-row{display:flex;flex-wrap:wrap;gap:6px}.project-card .project-deciders{gap:9px;flex-wrap:nowrap;padding:13px 0;margin:8px 0 12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.project-card .project-decider{border-width:3px;padding:2px;flex:none}.project-card-lead>span{min-width:0;overflow-wrap:anywhere}.project-card-lead small{white-space:nowrap}.project-card-description{line-height:1.55}

.project-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;overflow:visible;padding-bottom:12px}.project-board>.project-column{min-width:0;padding:12px}.project-card{padding:14px;min-width:0}.project-column>h2{gap:6px;overflow-wrap:anywhere}.project-card-priority{margin-bottom:6px}.project-card .tag-row{gap:5px}.project-card .badge{font-size:.7rem;padding:4px 6px;white-space:normal;overflow-wrap:anywhere}.project-card .project-deciders{gap:8px;flex-wrap:wrap}.project-card .project-decider .avatar{width:24px;height:24px;font-size:11px}.project-card .project-decider{padding:2px;border-width:2px}.project-card .decision-symbol{width:14px;height:14px;right:-5px;bottom:-5px;font-size:10px}.project-card-lead{flex-wrap:wrap;gap:6px}.project-card-lead .avatar{width:26px;height:26px}.project-card-lead small{font-size:.65rem}@media(max-width:1250px){.project-board{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.project-board{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.project-board{grid-template-columns:minmax(0,1fr)}}

.project-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.project-plan-nav{display:flex;gap:22px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid var(--line);margin-bottom:24px}.project-plan section{margin:25px 0;scroll-margin-top:20px}.project-steps{display:grid;gap:12px}.project-step{border:1px solid var(--line);border-radius:10px;padding:16px}.project-step-heading{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.project-step-heading>.badge{margin-left:auto}.project-step-people{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0}.project-step-people>span{display:flex;align-items:center;gap:5px}.project-step-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.project-step-actions form{margin:0}.project-plan [hidden]{display:none!important}.project-plan-create{padding:18px;background:#f0f7f8;border-radius:10px;margin-top:18px}.project-plan-create summary{cursor:pointer;font-weight:600}.project-plan-create form{margin-top:16px}.project-dependency{border-left:3px solid #e4b522;padding-left:10px}.project-document-list{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:15px}.project-document-list a{display:flex;gap:6px;align-items:center}.project-dropzone{display:flex;flex-direction:column;align-items:center;gap:12px;padding:26px;border:2px dashed #a2bcc4;background:#f4f9fa;border-radius:12px;margin-bottom:16px}.project-dropzone.drag-over{border-color:var(--teal);background:#e0f3f1}.project-plan .task-comment .avatar{width:26px;height:26px;vertical-align:middle}

.project-dropzone input[type=file]{max-width:100%;width:auto;border:0;background:transparent;padding:4px;color:var(--navy);font:inherit;font-size:.85rem}.project-dropzone input[type=file]::file-selector-button{font:inherit;font-weight:600;color:white;background:var(--teal);border:0;border-radius:8px;padding:12px 18px;margin-right:14px;cursor:pointer}.project-dropzone input[type=file]::file-selector-button:hover{background:var(--teal-dark)}.project-dropzone input[type=file]:focus-visible{outline:2px solid var(--teal);outline-offset:4px}.project-receipts{display:grid;gap:8px}.project-receipts>a{padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#f5f9fa}

.project-post{position:relative}.project-post-reply{margin-left:32px;border-left:3px solid #b8d8de}.project-reply-button{float:right;opacity:0;transition:opacity .15s}.project-post:hover .project-reply-button,.project-post:focus-within .project-reply-button{opacity:1}[data-project-reply-context]{padding:12px;background:#e8f4f5;border-left:3px solid var(--teal);margin-bottom:12px}@media(hover:none){.project-reply-button{opacity:1}}@media(max-width:600px){.project-post-reply{margin-left:16px}}

.project-status-approved{display:inline-block;background:#21854d;color:#fff;border:1px solid #19743e;font-weight:700;padding:7px 12px;box-shadow:0 0 12px #26a65b44}.project-plan .project-simulation-note{margin-top:24px;margin-bottom:24px;border:1px solid #d2dfe5;background:#f5f8fa;border-radius:8px;color:#526b7c}

.storm-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;margin:24px 0}.storm-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:24px 0}.storm-column{background:#eff5f6;border:1px solid #dae5e8;border-radius:14px;padding:16px;min-width:0}.storm-column h2{font-size:1rem;display:flex;justify-content:space-between}.storm-column>details{font-size:.8rem;margin-top:18px}.storm-cards{display:grid;gap:12px;margin-top:16px}.storm-card{--idea-color:#007d8d;background:white;border:1px solid #dce6e9;border-top:5px solid var(--idea-color);border-radius:9px;padding:16px;text-align:left;color:var(--navy);font:inherit;cursor:pointer;overflow-wrap:anywhere;width:100%}.storm-card[draggable=true]{cursor:grab}.storm-card p{font-size:.85rem;color:var(--muted);white-space:pre-wrap}.storm-card>span{display:flex;gap:8px;align-items:center}.storm-card .avatar{width:24px;height:24px}.storm-color-blue{--idea-color:#4687bc}.storm-color-orange{--idea-color:#e98c22}.storm-color-green{--idea-color:#2d9969}.storm-color-red{--idea-color:#cf4a61}.storm-color-purple{--idea-color:#8a63b8}[data-storm-content]{padding:22px}[data-hirnsturm] [hidden]{display:none!important}

.storm-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}.storm-motto{padding:14px 18px;background:#e8f4f3;border-left:4px solid var(--teal);border-radius:8px}.storm-viewport{height:65vh;min-height:350px;overflow:hidden;position:relative;border:1px solid #ccdade;border-radius:14px;background-color:#f3f7f8;background-image:radial-gradient(#bdcdd3 1px,transparent 1px);background-size:22px 22px;touch-action:none;cursor:grab}.storm-canvas{position:absolute;inset:0 auto auto 0;width:3300px;height:2300px;transform-origin:0 0}.storm-canvas .storm-card{position:absolute;width:260px;min-height:140px;box-shadow:0 5px 15px #17314b14;user-select:none}.storm-dragging{opacity:.8;z-index:5;box-shadow:0 12px 24px #17314b33!important}.storm-fullscreen{position:fixed;inset:0;z-index:2000;background:white;padding:20px;overflow:auto}.storm-fullscreen .storm-viewport{height:calc(100dvh - 245px)}.storm-fullscreen h1{font-size:1.5rem}.storm-fullscreen .project-plan-heading{margin:0}.storm-fullscreen>form{display:none}

.storm-wires{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}.storm-wire{fill:none;stroke:#007d8d;stroke-width:3}.storm-wire-preview{stroke-dasharray:7 5;opacity:.7}.storm-port{position:absolute;width:20px;height:20px;border-radius:50%;border:3px solid white;background:#007d8d;box-shadow:0 0 0 2px #007d8d;z-index:10;cursor:crosshair;padding:0;touch-action:none}.storm-port:hover,.storm-port:focus-visible{background:#e99324;outline:3px solid #e9932455}

.storm-rating{border:0;padding:0;margin:16px 0}.storm-rating-dots{display:flex;gap:7px;margin:12px 0}.storm-rating-dots button{width:24px;height:24px;border:2px solid #7897a3;border-radius:50%;background:white;padding:0;cursor:pointer}.storm-rating-dots button[aria-pressed=true]{background:#007d8d;border-color:#007d8d}.storm-rating-dots button:focus-visible{outline:3px solid #e99324;outline-offset:3px}.storm-cut-mode,.storm-cut-mode *{cursor:url(/assets/knife.svg) 3 29,crosshair!important}.storm-wire-cut{stroke:#d34960;stroke-width:5;stroke-dasharray:6 4}

[data-storm-content]>h3,[data-storm-content]>section>h3{margin-top:30px;padding-top:22px;border-top:1px solid var(--line);margin-bottom:18px}.storm-comment header{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.storm-comment header .avatar{width:30px;height:30px}.storm-comment header time{font-size:.72rem;color:var(--muted)}.storm-comment-kind{font-size:.72rem;font-weight:600;border-radius:5px;padding:3px 7px}.storm-comment-kind.is-question{background:#ffebcf;color:#965300}.storm-comment-kind.is-comment{background:#dff0f2;color:#006678}.storm-comment-reply{margin-left:28px;border-left:3px solid #b5d8df}.storm-comment-answer{margin-left:auto}.storm-reply-context{padding:12px;background:#e7f3f4;border-radius:7px;margin-bottom:16px}@media(hover:hover){.storm-comment-answer{opacity:0}.storm-comment:hover .storm-comment-answer,.storm-comment:focus-within .storm-comment-answer{opacity:1}}@media(max-width:600px){.storm-comment-reply{margin-left:14px}}

.storm-fullscreen{display:flex;flex-direction:column;gap:7px;height:100dvh;padding:12px 16px;overflow:hidden}.storm-fullscreen>.project-plan-heading{flex:none;min-height:34px}.storm-fullscreen .project-plan-heading .eyebrow{display:none}.storm-fullscreen h1{font-size:1.25rem;line-height:1.2;margin:0}.storm-fullscreen>.pre-wrap{margin:0;font-size:.8rem;max-height:2.8em;overflow:auto}.storm-fullscreen>.pre-wrap:empty{display:none}.storm-fullscreen .storm-motto{padding:5px 10px;margin:0;font-size:.8rem;flex:none}.storm-fullscreen .storm-tools{margin:0;gap:6px;flex:none}.storm-fullscreen .storm-tools .button,.storm-fullscreen .project-plan-heading .button{padding:7px 11px;min-height:32px}.storm-fullscreen>.small-text{margin:0;font-size:.68rem;line-height:1.3;flex:none}.storm-fullscreen .storm-viewport{flex:1 1 0;height:auto;min-height:100px;margin:0;border-radius:10px}.storm-fullscreen>.button{align-self:flex-start;padding:4px 10px;font-size:.75rem;min-height:0}

.storm-spark-button{background:#fff3d4;color:#805200;border-color:#e7bd5e;font-weight:700}.storm-spark-button:hover{background:#ffe7a9;box-shadow:0 0 12px #e7bd5e44}.storm-spark-question{font-size:1.35rem;line-height:1.55;padding:24px;border-left:4px solid #e4ab32;background:#fff8e8;border-radius:10px;margin:22px 0}.storm-spark-actions{display:flex;gap:12px;flex-wrap:wrap}

.storm-spark-avatar{display:inline-flex;width:26px;height:26px;flex:none;align-items:center;justify-content:center}.storm-spark-avatar svg{width:26px;height:26px;filter:drop-shadow(0 0 3px #ffc14455)}

.storm-spark-particles{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;border:0;background:transparent;pointer-events:none;overflow:visible;z-index:10000}.storm-spark-particles::backdrop{background:transparent;pointer-events:none}

/* Explicit external sharing stays visible in the full-screen board. */
.storm-public-notice{display:flex;flex-wrap:wrap;gap:6px 18px;padding:12px 16px;margin:12px 0;border:1px solid #e1a323;border-left:5px solid #db9300;border-radius:9px;background:#fff2ca;color:#654400;flex-shrink:0}
.storm-public-badge{display:inline-block;margin:8px 0 0 8px;padding:5px 9px;border-radius:6px;background:#fff2ca;color:#654400;font-size:12px;font-weight:700}
.storm-share-option{display:flex;align-items:center;gap:10px;margin:20px 0 10px}.storm-share-option input{width:20px;height:20px;flex:none}
.storm-guest-page main{max-width:none;margin:0;padding:24px}.storm-guest-page .storm-viewport{height:calc(100vh - 300px);min-height:350px}
.storm-guest-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#167c80;color:white;flex:none}
.storm-fullscreen .storm-public-notice{margin:4px 0;padding:7px 12px}
@media(max-width:600px){.storm-guest-page main{padding:12px}.storm-public-notice{font-size:13px}}

.storm-guest-toast{position:fixed;bottom:20px;right:20px;z-index:2200;padding:12px 18px;border-radius:8px;background:#006c7c;color:white;box-shadow:0 6px 20px #102a3533}.storm-guest-toast[hidden]{display:none}.storm-guest-page .storm-fullscreen .storm-viewport{height:auto;min-height:100px}

[data-hirnsturm]>.storm-archive-action{margin-top:24px;margin-bottom:12px}

.arrows-workspace>.project-plan-heading h1,.arrows-workspace>.pre-wrap{color:#007d8d}.arrows-workspace .storm-viewport{background-image:none}.arrows-workspace .storm-card p{white-space:pre-wrap;overflow-wrap:anywhere}.arrows-workspace .storm-card strong{overflow-wrap:anywhere}.arrows-clean .storm-port{display:none}.arrows-brand{display:flex;justify-content:flex-end;padding:18px 8px}.arrows-brand img{width:135px;height:auto}.arrows-workspace.storm-fullscreen>.arrows-brand{position:absolute;bottom:22px;right:28px;padding:8px;background:#ffffffdd;border-radius:8px;pointer-events:none}.arrows-delete{margin-top:24px}.arrows-workspace input[type=color]{width:90px;height:44px;padding:4px}

.arrows-selected{outline:3px solid #007d8d;outline-offset:5px}.arrows-align-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.arrows-align-grid .button{display:flex;flex-direction:column;gap:8px;padding:14px 8px;text-align:center;white-space:normal}.arrows-align-grid svg{width:30px;height:30px;flex:none}.arrows-align-grid span{font-size:13px}@media(max-width:500px){.arrows-align-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.arrows-marquee{position:absolute;border:1.5px solid #007d8d;background:#007d8d20;pointer-events:none;z-index:50}.arrows-select-mode .storm-viewport{cursor:crosshair}.arrows-selected{cursor:grab}.storm-tools [data-arrows-select-mode][aria-pressed=true]{background:#e0f3f2;border-color:#007d8d;color:#005c68}

/* Keep both permission drop zones reachable alongside the longest user list. */
.rights-board>.rights-column{display:flex;flex-direction:column}
.rights-column>.person-list{flex:none}
.rights-column>.drop-hint{flex:1;display:grid;place-items:center;min-height:54px}

.ghost-active{color:#68758c;background:#eef0f6;border-color:#cdd3e1}.badge.ghost-active{display:inline-flex;align-items:center;gap:5px}.badge.ghost-active .icon{width:16px;height:16px}

/* Compact permission cards; full-height drop zones. */
.rights-column>.column-heading{gap:10px;flex-wrap:wrap}
.rights-column>.column-heading h2{margin-right:auto}
.rights-compact>.column-caption{display:none}
.rights-compact>.person-list{display:flex;flex-direction:column;gap:8px}
.rights-compact .person-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;padding:10px 12px}
.rights-compact .person-card[hidden]{display:none}
.rights-compact .person-top{min-width:0;gap:9px}
.rights-compact .person-top small{margin-top:2px;font-size:.7rem}
.rights-compact .person-top strong{font-size:.82rem}
.rights-compact .led-row{margin:0;padding:0;border:0;gap:3px}
.rights-compact .led-control{min-width:51px;min-height:44px;padding:5px 3px;gap:6px;font-size:.62rem}
.rights-compact .person-card>.text-button{display:none}
.rights-compact .is-blocked>.badge{margin:0;font-size:.66rem}
.rights-compact .drag-handle{font-size:1rem}
@media(max-width:480px){.rights-compact .person-card{gap:6px;padding:9px 8px}.rights-compact .person-top .avatar{width:26px;height:26px}.rights-compact .led-control{min-width:42px;padding:5px 1px;font-size:.56rem}.rights-compact .person-top{gap:6px}}

/* Inventory: supplied workshop photo, with readable navigation and heading. */
body.inventory-page{background:#ded7c9 url('/assets/inventory-background.png') center center/cover fixed no-repeat}
.inventory-page .breadcrumbs{background:#fffffff2;color:#254357;width:fit-content;min-height:36px;margin-top:12px;padding:6px 12px;border-radius:8px}
.inventory-page .page-heading{background:#fffffff2;padding:18px 22px;border-radius:10px}
.inventory-page .page-heading p{color:#52677b}
@media(max-width:760px){.inventory-page .page-heading{padding:14px;flex-wrap:wrap}}

/* Firmenwissen: supplied reference background. */
body.knowledge-page{background:#ded7c9 url('/assets/knowledge-background.png') center center/cover fixed no-repeat}
.knowledge-page .breadcrumbs{background:#fffffff2;color:#254357;width:fit-content;min-height:36px;margin-top:12px;padding:6px 12px;border-radius:8px}
.knowledge-page .page-heading{background:#fffffff2;padding:18px 22px;border-radius:10px}
.knowledge-page .page-heading p{color:#52677b}
@media(max-width:760px){.knowledge-page .page-heading{padding:14px;flex-wrap:wrap}}

/* Contacts and organizations: supplied reference background. */
body.contacts-page{background:#ded7c9 url('/assets/contacts-background.png') center center/cover fixed no-repeat}
.contacts-page .breadcrumbs{background:#fffffff2;color:#254357;width:fit-content;min-height:36px;margin-top:12px;padding:6px 12px;border-radius:8px}
.contacts-page .page-heading{background:#fffffff2;padding:18px 22px;border-radius:10px}
.contacts-page .page-heading p{color:#52677b}
@media(max-width:760px){.contacts-page .page-heading{padding:14px;flex-wrap:wrap}}

/* To-dos: supplied reference background. */
body.todo-page:not(.todo-private){background:#ded7c9 url('/assets/todo-background.png') center center/cover fixed no-repeat}
.todo-page .workspace{background:transparent}
.todo-page .breadcrumbs{background:#fffffff2;color:#254357;width:fit-content;min-height:36px;margin-top:12px;padding:6px 12px;border-radius:8px}
.todo-page .page-heading{background:#fffffff2;padding:18px 22px;border-radius:10px}
.todo-page .page-heading p{color:#52677b}
@media(max-width:760px){.todo-page .page-heading{padding:14px;flex-wrap:wrap}}

/* Tasks: supplied reference background. */
body.tasks-page{background:#ded7c9 url('/assets/tasks-background.png') center center/cover fixed no-repeat}
.tasks-page .breadcrumbs{background:#fffffff2;color:#254357;width:fit-content;min-height:36px;margin-top:12px;padding:6px 12px;border-radius:8px}
.tasks-page .page-heading{background:#fffffff2;padding:18px 22px;border-radius:10px}
.tasks-page .page-heading p{color:#52677b}
@media(max-width:760px){.tasks-page .page-heading{padding:14px;flex-wrap:wrap}}

/* Projects: supplied reference background. */
body.projects-page{background:#ded7c9 url('/assets/projects-background.png') center center/cover fixed no-repeat}
.projects-page .breadcrumbs{background:#fffffff2;color:#254357;width:fit-content;min-height:36px;margin-top:12px;margin-bottom:16px;padding:6px 12px;border-radius:8px}
.projects-page .page-heading{background:#fffffff2;padding:18px 22px;border-radius:10px}
.projects-page .page-heading p{color:#52677b}
@media(max-width:760px){.projects-page .page-heading{padding:14px;flex-wrap:wrap}}

/* Tools overview: supplied reference background. */
body.tools-page{background:#ded7c9 url('/assets/tools-background.png') center center/cover fixed no-repeat}
.tools-page .breadcrumbs{background:#fffffff2;color:#254357;width:fit-content;min-height:36px;margin-top:12px;padding:6px 12px;border-radius:8px}
.tools-page .page-heading{background:#fffffff2;padding:18px 22px;border-radius:10px}
.tools-page .page-heading p{color:#52677b}
@media(max-width:760px){.tools-page .page-heading{padding:14px;flex-wrap:wrap}}

/* Administration: supplied reference background. */
body.admin-page{background:#101c27 url('/assets/admin-background.png') center center/cover fixed no-repeat}
.admin-page .breadcrumbs{background:#fffffff2;color:#254357;width:fit-content;min-height:36px;margin-top:12px;padding:6px 12px;border-radius:8px}
.admin-page .page-heading{background:#fffffff2;padding:18px 22px;border-radius:10px}
.admin-page .page-heading p{color:#52677b}
@media(max-width:760px){.admin-page .page-heading{padding:14px;flex-wrap:wrap}}

/* Compact admin introduction and clearly visible primary section navigation. */
.admin-page .admin-heading{margin:10px 0 12px;padding:12px 18px;gap:14px}
.admin-page .admin-heading p{margin:0;font-size:.95rem;color:#254357}
.admin-page .admin-heading .badge{white-space:nowrap}
.admin-page .admin-tabs{background:#fffffff5;border:1px solid #d6e1e7;border-radius:9px;padding:6px;gap:6px;margin:0 0 20px;display:flex;flex-wrap:wrap}
.admin-page .admin-tabs a{color:#254357;border:0;border-radius:6px;padding:12px 18px;font-weight:600}
.admin-page .admin-tabs a:hover{background:#e7f2f3;color:#006b7c}
.admin-page .admin-tabs a.active{background:#007f91;color:#fff;border:0}
.admin-page .admin-tabs a:focus-visible{outline:3px solid #e2ac42;outline-offset:2px}

/* Personal appearance applies to module photos, including asynchronous message views. */
body.authenticated[data-background="plain"]:not(.todo-private){background:var(--personal-background,var(--bg))!important}
body[data-background-color="#eaf5f5"]{--personal-background:#eaf5f5}
body[data-background-color="#f0ecf7"]{--personal-background:#f0ecf7}
body[data-background-color="#f7ecef"]{--personal-background:#f7ecef}
body[data-background-color="#f5efdf"]{--personal-background:#f5efdf}
body[data-background-color="#edf3e8"]{--personal-background:#edf3e8}
.profile-appearance{margin-top:24px}.profile-appearance form{max-width:520px}
.todo-page .column-heading .todo-add{background:var(--teal);color:#fff;flex-shrink:0}
.todo-page .column-heading .todo-add:hover{background:var(--teal-dark)}

/* Inventory overview: create on the left, search beside the archive switch. */
.inventory-page .breadcrumbs{margin-bottom:16px}
:is(.inventory-page,.knowledge-page) .list-toolbar{gap:12px}
:is(.inventory-page,.knowledge-page) .list-toolbar .record-search{margin:0 0 0 auto;min-width:0}
:is(.inventory-page,.knowledge-page) .list-toolbar>.button,:is(.inventory-page,.knowledge-page) .list-toolbar .segmented{flex-shrink:0}
@media(max-width:760px){:is(.inventory-page,.knowledge-page) .list-toolbar{flex-wrap:wrap}:is(.inventory-page,.knowledge-page) .list-toolbar .record-search{width:auto;flex:1 1 280px}}
@media(max-width:520px){:is(.inventory-page,.knowledge-page) .list-toolbar .record-search{margin-left:0;width:100%;flex:auto}:is(.inventory-page,.knowledge-page) .list-toolbar>.button{align-self:flex-start}}

.inventory-category-manage{background:#fff;color:var(--muted);border:1px solid var(--line);font-weight:400;font-size:.8rem}
.inventory-category-create{display:flex;gap:12px;align-items:end}.inventory-category-create .field{flex:1;margin:0}.inventory-category-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;margin:0;border-top:1px solid var(--line)}.inventory-category-row>span{overflow-wrap:anywhere;min-width:0}.inventory-category-row>.button{flex-shrink:0}
.inventory-page .list-toolbar>[data-inventory-categories-open]{order:4}
@media(max-width:760px){.inventory-page .list-toolbar>[data-inventory-categories-open]{flex-basis:auto}}

/* Shared focus view across the main navigation. */
.workspace-view-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 16px}
body .workspace-view-bar .breadcrumbs{margin:0;min-width:0}
.workspace-view-bar>[data-full-view]{flex-shrink:0;margin-left:auto}
.has-full-view [data-todo-fullscreen],.has-full-view #im-fullscreen,.has-full-view #mail-fullscreen{display:none!important}
body.portal-full-view .portal-header,body.portal-full-view .portal-footer,body.portal-full-view .workspace-view-bar .breadcrumbs{display:none!important}
body.portal-full-view .workspace{max-width:none;padding:12px 22px 24px;min-height:100dvh}
.portal-full-view .workspace-view-bar{margin-top:0}
.portal-full-view .todo-board{min-height:calc(100dvh - 155px)}
.portal-full-view .im-main{height:calc(100dvh - 140px)}
.portal-full-view .im-sidebar,.portal-full-view .im-actions,.portal-full-view .mail-sidebar{top:12px;max-height:calc(100dvh - 24px)}
@media(max-width:600px){.workspace-view-bar{gap:8px}.workspace-view-bar>[data-full-view]{padding:7px 9px;font-size:.75rem}body.portal-full-view .workspace{padding:12px}.portal-full-view .im-main{height:75dvh}}

.contacts-overview{display:block}.contact-overview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.contact-overview-toolbar .contact-search{margin:0 0 0 auto;max-width:600px;flex:1}.contact-overview-toolbar>.button{flex-shrink:0}
#contact-editor{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;overflow:auto}#contact-editor[open]{display:flex;flex-direction:column}.contact-editor-section{min-height:0;display:flex;flex-direction:column}.contact-editor-section>.import-heading{flex-shrink:0;gap:14px}.contact-editor-section>.import-heading h2{margin:0;flex:1}#contact-editor-form{display:flex;flex-direction:column;min-height:0;margin:0}.contact-editor-steps{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0;flex-shrink:0}.contact-editor-steps [aria-current=step]{background:var(--teal);color:#fff;border-color:var(--teal)}.contact-editor-fields{overflow-y:auto;min-height:0;padding:12px 8px 8px 0;max-height:55dvh}.contact-editor-fields .check-label{margin-bottom:18px}.contact-editor-footer{display:flex;gap:10px;justify-content:flex-end;padding-top:16px;border-top:1px solid var(--line);flex-shrink:0}.contact-editor-footer>button:first-child{margin-right:auto}#contact-editor [hidden]{display:none!important}
@media(max-width:650px){.contact-overview-toolbar{flex-wrap:wrap}.contact-overview-toolbar .contact-search{flex-basis:100%;width:100%;max-width:none}#contact-editor{padding:16px}.contact-editor-steps{gap:6px}.contact-editor-steps .button{flex:1 1 40%}.contact-editor-footer{gap:6px;flex-wrap:wrap}.contact-editor-footer .button{padding:8px 10px}}

.contact-qr-single{display:grid;gap:12px}.contact-qr-picker{display:flex;flex-wrap:wrap;gap:8px}.contact-qr-picker button{flex:1}.contact-qr-picker [aria-pressed=true]{background:var(--teal);color:#fff;border-color:var(--teal)}.contact-qr-number{font-weight:600;margin:8px 0;overflow-wrap:anywhere}

.contact-row .contact-team-badge{margin-top:8px}

#knowledge-create{width:min(700px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}#knowledge-create form{margin:18px 0 0}#knowledge-create .form-actions{position:sticky;bottom:-1px;background:#fff;padding:12px 0;margin-bottom:0}

/* Square tool links for the tools overview. */
.tools-page .tools-grid{grid-template-columns:repeat(auto-fit,minmax(240px,320px));gap:22px}
.tools-page .tools-grid>.module-card{aspect-ratio:1;display:flex;flex-direction:column;justify-content:center;padding:26px;min-width:0}
.tools-page .tools-grid .module-icon{float:none;flex-shrink:0;margin-bottom:18px}
.tools-page .tools-grid h2{margin:0 0 12px}
.tools-page .tools-grid p{margin:0;line-height:1.6}
@media(max-width:550px){.tools-page .tools-grid{grid-template-columns:minmax(0,320px)}.tools-page .tools-grid>.module-card{padding:22px}}

.tools-search-toolbar{display:flex;justify-content:flex-end;margin-bottom:20px}.tools-search-toolbar .search-field{width:min(600px,100%)}.tools-page .tools-grid>.module-card[hidden]{display:none}

[data-own-entry]{cursor:text;white-space:pre-wrap}[data-own-entry]:focus-visible{outline:2px solid var(--teal);outline-offset:4px;border-radius:3px}.own-entry-edited{display:block;color:var(--muted);font-size:11px;margin:4px 0 10px}.own-entry-edited[hidden]{display:none}.own-entry-editor{width:100%;min-width:0;padding:10px 0}.own-entry-editor textarea{display:block;width:100%;min-height:70px;border:1px solid var(--teal);border-radius:6px;padding:10px;resize:vertical;font:inherit}.own-entry-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}.own-entry-menu{position:fixed;z-index:5000;display:grid;min-width:155px;padding:5px;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 5px 22px #16264130}.own-entry-menu button{text-align:left;background:white;border:0;padding:10px 14px;color:var(--navy);border-radius:5px}.own-entry-menu button:hover,.own-entry-menu button:focus{background:var(--pale)}.task-checklist .check-label:has(.own-entry-editor){flex-wrap:wrap}.own-entry-editor [hidden]{display:none!important}

.knowledge-entry-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.knowledge-entry-heading h1{font-size:1.5rem;line-height:1.3;margin:0;min-width:0;overflow-wrap:anywhere}.knowledge-entry-heading .button{flex-shrink:0}@media(max-width:650px){.knowledge-entry-heading{flex-wrap:wrap}}

.admin-users-toolbar{display:flex;align-items:center;gap:14px;margin:16px 0 20px}.admin-users-toolbar .search-field{margin-left:auto;width:min(500px,50%)}.admin-users-toolbar>.badge{flex-shrink:0}.admin-user-dialog{width:min(850px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0}.admin-user-dialog>.panel{border:0}.admin-user-dialog .record-dialog-header{margin-bottom:20px}.admin-user-dialog .import-heading{gap:12px;flex-wrap:wrap}.admin-user-dialog .import-heading h2{margin:0;flex:1}.admin-user-dialog .mail-settings-panel{margin-top:24px}.admin-user-dialog form{margin-bottom:20px}.admin-accounts-overview{width:100%}.admin-page .rights-controls>form{order:0;margin:0}.admin-page .rights-controls .rights-search{order:1;margin-left:auto;max-width:500px}.admin-page .rights-controls .admin-user-count{order:2;flex-shrink:0}.admin-page .breadcrumbs{margin-bottom:16px}
@media(max-width:700px){.admin-users-toolbar{flex-wrap:wrap}.admin-users-toolbar .search-field{order:2;width:100%;flex-basis:100%;margin:0}.admin-users-toolbar>.badge{margin-left:auto}.admin-user-dialog .panel-body{padding:18px}.admin-page .rights-controls{flex-wrap:wrap}.admin-page .rights-controls .rights-search{margin-left:0;width:100%}}

/* Benutzerkonten: kompakte Übersicht in zwei Spalten. */
.admin-accounts-overview .user-account-list{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:16px}
.admin-accounts-overview .account-row{min-width:0;border:1px solid var(--line);border-radius:10px;padding:16px}
.admin-accounts-overview .account-info>strong{overflow-wrap:anywhere}
@media(min-width:1000px){.admin-accounts-overview .user-account-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

.task-origin{font-size:.78rem;color:var(--muted);font-weight:400;line-height:1.5;margin:0 0 18px;padding:12px 0;border-bottom:1px solid var(--line)}
.task-row .task-origin{margin:12px 0 8px;padding:8px 0 0;border-bottom:0;border-top:1px solid var(--line)}

/* Hirnsturm: compact toolbar and canvas focus mode. */
.storm-heading-motto{font-weight:400;letter-spacing:normal;text-transform:none;color:var(--muted);margin-left:14px}
.hirnsturm-workspace .storm-tools-end{display:flex;align-items:center;gap:8px;margin-left:auto}
.hirnsturm-workspace .storm-tools-end form{margin:0}.hirnsturm-workspace .storm-tools-end [data-storm-error][hidden]{display:none}
.storm-focus-bar{display:none}
.hirnsturm-workspace.storm-fullscreen{padding:0;gap:0;overflow:hidden}
.hirnsturm-workspace.storm-fullscreen> :not(.storm-viewport):not(.storm-focus-bar):not(.storm-canvas-help):not(dialog){display:none!important}
.hirnsturm-workspace.storm-fullscreen>.storm-viewport{position:absolute;inset:0;width:100%;height:100%;min-height:0;border:0;border-radius:0}
.hirnsturm-workspace.storm-fullscreen>.storm-focus-bar{display:flex;position:absolute;top:10px;left:12px;right:12px;z-index:30;align-items:center;gap:10px;padding:8px 12px;background:#ffffffed;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
.storm-focus-bar>div{flex:1;min-width:0}.storm-focus-bar strong,.storm-focus-bar span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.storm-focus-bar span{font-size:.8rem;color:var(--muted)}.storm-focus-bar .button{flex-shrink:0}
@media(max-width:600px){.storm-heading-motto{display:block;margin:6px 0 0}.storm-focus-bar{flex-wrap:wrap}.storm-focus-bar>div{flex-basis:100%}}

.storm-context-list{margin-top:24px}.storm-context-entry{padding:16px 0;border-top:1px solid var(--line)}.storm-context-entry>p{margin:0 0 10px}.storm-context-entry>small{display:block;overflow-wrap:anywhere;margin-bottom:10px}

.storm-context-dropzone{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;box-sizing:border-box;margin:18px 0 20px;border-radius:10px;background:#f4f9fa;text-align:center}
.storm-context-dropzone>span:first-child{font-weight:600}.storm-context-dropzone input[type=file]{display:block;max-width:100%;width:auto;min-width:0;box-sizing:border-box}.storm-context-dropzone small{display:block;color:var(--muted)}.storm-context-dropzone .selected-file{max-width:100%}
.hirnsturm-workspace.storm-fullscreen>.storm-canvas-help{display:block;position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:25;width:max-content;max-width:calc(100% - 32px);box-sizing:border-box;margin:0;padding:7px 12px;border-radius:8px;background:#ffffffdf;color:#526b76;font-size:.72rem;line-height:1.5;text-align:center;pointer-events:none}

.storm-context-entry{padding:18px 0;border-top:1px solid #e3ebef}.storm-context-link{display:block;font-size:1rem;font-weight:650;line-height:1.5;color:var(--teal-dark);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;margin-bottom:7px}.storm-context-link:hover{color:var(--teal)}.storm-context-entry>.storm-context-description{font-size:.95rem;line-height:1.6;color:var(--navy);margin:0;overflow-wrap:anywhere}

.knowledge-content{border-left:4px solid var(--teal);background:#f5f9fa;border-radius:0 10px 10px 0;padding:22px 24px;margin-top:24px}.knowledge-content>h2{font-size:1.15rem;margin:0 0 12px}.knowledge-content>.pre-wrap{font-size:1rem;line-height:1.7;color:var(--navy);overflow-wrap:anywhere}.knowledge-content .attachment{background:#fff;margin:20px 0 0;padding:20px}.knowledge-content .attachment strong{font-size:1rem;line-height:1.5}.knowledge-content .attachment small{font-size:.85rem}.attachment>.knowledge-file-actions{display:flex;flex:0 0 auto;gap:10px;align-items:center;flex-wrap:wrap}.knowledge-content .attachment>.icon{color:var(--teal);width:26px;height:26px;flex-shrink:0}@media(max-width:600px){.knowledge-content{padding:18px 16px}.knowledge-content .attachment{padding:16px}.knowledge-content .knowledge-file-actions{width:100%}}

.arrows-tools-end{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}.storm-tools [data-arrows-clean][aria-pressed=true]{background:#dceef8;border-color:#9ebfd5;color:#173e59;box-shadow:inset 0 2px 4px #173e591a}.arrows-workspace.storm-fullscreen{padding-bottom:74px}.arrows-workspace.storm-fullscreen>.arrows-canvas-help{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:25;width:max-content;max-width:calc(100% - 32px);box-sizing:border-box;margin:0;padding:7px 12px;border-radius:8px;background:#ffffffdf;color:#526b76;font-size:.72rem;line-height:1.5;text-align:center;pointer-events:none}@media(max-width:600px){.arrows-workspace.storm-fullscreen{padding-bottom:110px}}

.arrows-workspace .arrows-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:12px 0;flex-shrink:0}.arrows-tools-cluster{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.arrows-tools-last{margin-left:auto}.arrows-workspace .arrows-toolbar .button{font-size:.72rem;line-height:1.25;padding:7px 8px;min-height:30px;white-space:nowrap}.arrows-toolbar .storm-archive-action{margin:0}.arrows-toolbar .storm-archive-action .button{background:#fff;color:var(--navy);border:1px solid var(--line);box-shadow:none}.arrows-toolbar [data-storm-error][hidden]{display:none}.arrows-workspace.storm-fullscreen>.pre-wrap{flex:0 0 auto;max-height:4.5em;line-height:1.5;overflow:auto}.arrows-workspace.storm-fullscreen>.arrows-toolbar{margin:6px 0}.arrows-workspace.storm-fullscreen>.tool-project-links{display:none}

/* Shared navigation must fit the viewport. */
.portal-header .top-nav{min-width:0}.portal-header .profile-menu{flex-shrink:0}
@media(min-width:801px){.portal-header{height:auto;min-height:90px}.portal-header .top-nav{flex-wrap:wrap;align-content:center;height:auto;gap:0 4px}.portal-header .top-nav a{flex-shrink:0;min-height:40px;padding:3px 10px 0}}
