:root{--bg:#f6f3ed;--surface:#fffefb;--ink:#302c27;--muted:#867e73;--brown:#704b35;--brown-dark:#583823;--line:#e8e0d5;--gold:#bf9368;--green:#54756a;--shadow:0 12px 38px #49382009;font-family:'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:94px}body{margin:0;min-width:320px;-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.55;cursor:wait}button,input,select,textarea{outline-offset:4px}:focus-visible{outline:3px solid #bd9067}button svg,a svg{pointer-events:none}svg.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}button{border:0}img{max-width:100%;display:block}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:12px;z-index:50;background:white;padding:14px}.skip-link:focus{top:10px}.topbar{height:88px;max-width:1200px;margin:auto;padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;gap:12px;align-items:center}.brand>span{font-size:17px;font-weight:750;letter-spacing:2px}.brand small{display:block;font-size:9px;letter-spacing:2px;font-weight:500;margin-top:5px;color:var(--muted)}.topnav{display:flex;gap:32px;margin-left:auto;margin-right:28px;font-size:13px;font-weight:600}.topnav a{padding:12px 0;color:var(--muted)}.topnav .active{color:var(--brown)}.btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:10px 16px;font-size:13px;font-weight:600;transition:background .15s,box-shadow .15s;white-space:nowrap}.btn .icon{width:17px;height:17px}.btn-outline{border:1px solid #d9cabb;background:transparent;color:var(--brown)}.btn-outline:hover{background:#eee6dc}.btn-primary{background:var(--brown);color:white}.btn-primary:hover{background:var(--brown-dark)}.btn-danger{background:#a4433c;color:white}.btn-danger:hover{background:#8b322b}.btn-soft{background:#f0e9df;color:var(--brown)}.btn-text{background:transparent;color:var(--muted)}.account-button{border:1px solid var(--line);border-radius:30px;background:var(--surface);display:flex;gap:9px;align-items:center;padding:6px 12px 6px 6px;font-size:12px;font-weight:600}.account-avatar{width:30px;height:30px;border-radius:50%;background:var(--brown);color:white;display:grid;place-items:center;font-size:11px}.hero{max-width:1116px;margin:0 auto;border-radius:20px;min-height:300px;overflow:hidden;background:var(--brown);color:#fff8eb;display:flex;align-items:center;justify-content:space-between;padding:40px 46px;position:relative}.hero-copy{position:relative;z-index:1}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;display:flex;align-items:center;gap:9px}.hero .eyebrow{color:#d7bfa7}.tiny-line{width:22px;height:1px;background:currentColor}.hero h1{font-family:Georgia,'Times New Roman',serif;letter-spacing:-1px;font-size:39px;font-weight:400;line-height:1.3;margin:18px 0 13px}.hero h1 em{color:#dec4a5;font-style:normal}.hero p{font-size:13px;color:#e4d1be;margin:0 0 24px}.hero-link{display:inline-flex;gap:18px;align-items:center;font-size:12px;border-bottom:1px solid #b8997f;padding-bottom:7px}.hero-link .icon{width:16px}.hero-art{position:relative;width:350px;align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:center}.hero-art>svg{width:300px;z-index:1}.art-circle{border:1px solid #b9956b28;position:absolute;border-radius:50%;width:340px;height:340px;top:-47px;left:5px}.art-circle.c2{width:440px;height:440px;left:-45px;top:-97px}.art-caption{color:#cfb59c;font-size:10px;letter-spacing:.2px;z-index:1;margin-top:6px}.content-wrap{max-width:1116px;margin:auto}.organization{padding-top:37px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:23px}.muted{color:#9a8b7b;font-size:9px;letter-spacing:1.7px}h2{font-family:Georgia,'Times New Roman',serif;font-size:27px;letter-spacing:-.5px;margin:7px 0 0;font-weight:500}.total-pill{font-size:11px;border:1px solid var(--line);border-radius:20px;padding:8px 12px;color:#7c756c;display:flex;align-items:center;gap:6px;white-space:nowrap}.status-dot{width:6px;height:6px;border-radius:50%;background:#799080}.role-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.role-tab{display:flex;align-items:center;text-align:left;gap:13px;min-height:98px;padding:20px 22px;background:#fffef9;border:1px solid var(--line);border-radius:13px;position:relative;transition:background .15s,border-color .15s;box-shadow:var(--shadow)}.role-tab.selected{background:#eee4d7;border-color:#b99879}.role-tab:hover{border-color:#b99879}.role-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;flex-shrink:0;background:#eee5da;color:#976d49}.role-icon.sale{color:#6d8273;background:#e8ede5}.role-icon.manager{color:#8b7c97;background:#ede8f0}.role-icon .icon{width:23px;height:23px}.role-label{font-size:15px;font-weight:650}.role-label small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:6px}.role-count{margin-left:auto;font-family:Georgia,serif;font-size:29px;font-weight:400;color:#75624e;padding-right:6px}.tab-arrow{position:absolute;right:10px;top:8px;opacity:.45}.tab-arrow .icon{width:13px;height:13px}.chart-panel{border:1px solid var(--line);background:var(--surface);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}.chart-toolbar{padding:17px 22px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line)}.chart-title{display:flex;align-items:center;gap:9px;color:var(--brown)}.chart-title .icon{width:17px;height:17px}h3{margin:0;font-size:13px;font-weight:650}.chart-actions{display:flex;gap:10px;align-items:center}.search{display:flex;gap:7px;align-items:center;color:#a59a8d;background:#f6f3ed;border:1px solid #eee7de;border-radius:8px;padding:0 10px}.search .icon{width:16px;height:16px}.search input{font-size:12px;border:none;background:transparent;min-height:36px;width:155px;padding:6px 0;color:var(--ink);outline:none}.search:focus-within{outline:2px solid #b99879;outline-offset:2px}.chart-scroll{overflow:auto;overscroll-behavior-x:contain;min-height:310px;max-height:680px;background-image:radial-gradient(#c7b8a740 .8px,transparent .8px);background-size:18px 18px;cursor:grab;scrollbar-width:thin;scrollbar-color:#d9c8b5 transparent;touch-action:pan-x pan-y}.chart-scroll.dragging{cursor:grabbing;user-select:none}.chart{width:max-content;min-width:100%;padding:30px 36px;display:flex;justify-content:center;align-items:center;flex-direction:column}.group-root{display:inline-flex;align-items:center;gap:10px;border:1px solid #ccb59d;background:#f5eee3;border-radius:9px;padding:11px 20px;min-width:180px;justify-content:center;box-shadow:0 4px 10px #5d432608}.group-root .icon{width:18px;color:var(--brown)}.group-root strong{font-size:11px;font-weight:650}.group-root small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.tree{display:flex;justify-content:center;position:relative;padding:28px 0 0;margin:0;list-style:none;align-items:flex-start}.tree:before{content:'';position:absolute;width:1px;height:28px;top:0;background:#cbbba6}.tree li{list-style:none;position:relative;display:flex;align-items:center;flex-direction:column;padding:26px 9px 0}.tree li:before,.tree li:after{content:'';position:absolute;top:0;right:50%;width:50%;height:26px;border-top:1px solid #cbbba6}.tree li:after{right:auto;left:50%;border-left:1px solid #cbbba6}.tree li:only-child:before,.tree li:only-child:after{border-top:none}.tree li:first-child:before,.tree li:last-child:after{border:0}.tree li:last-child:before{border-right:1px solid #cbbba6;border-radius:0 6px 0 0}.tree li:first-child:after{border-radius:6px 0 0 0}.tree li:only-child:after{border-left:1px solid #cbbba6;border-radius:0}.person-card{width:177px;padding:16px 12px 13px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 5px 15px #41341f08;text-align:center;transition:transform .15s,box-shadow .15s;position:relative}.person-card:hover{transform:translateY(-2px);box-shadow:0 8px 16px #41341f12}.person-card.matched{border:2px solid var(--brown);background:#fff9ed}.avatar{display:grid;place-items:center;width:48px;height:48px;background:#efe3d4;color:#926844;border-radius:50%;font-family:Georgia,serif;font-size:18px;font-weight:500;overflow:hidden;margin:0 auto 10px;flex-shrink:0}.avatar.sale{color:#5d7868;background:#e5ece4}.avatar.manager{color:#85708b;background:#eee6f0}.avatar img{width:100%;height:100%;object-fit:cover}.person-name{font-size:12px;font-weight:650;display:block;word-break:break-word;line-height:1.45}.person-position{font-size:10px;color:var(--muted);margin-top:4px;display:block;word-break:break-word;line-height:1.4}.person-department{font-size:9px;display:inline-block;margin-top:9px;padding:4px 7px;background:#f5f1eb;color:#958777;border-radius:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-bottom{min-height:45px;border-top:1px solid var(--line);padding:7px 18px;display:flex;align-items:center;justify-content:space-between;color:#9b9184;font-size:10px}.chart-bottom>span{display:flex;align-items:center;gap:7px}.chart-bottom .icon{width:14px;height:14px}.zoom-controls{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;overflow:hidden}.zoom-controls button{height:30px;min-width:32px;font-size:10px;color:#7a6c5c;background:var(--surface)}.zoom-controls button:hover{background:#f0e9df}.zoom-controls #zoom-value{min-width:46px;border-left:1px solid var(--line);border-right:1px solid var(--line)}.search-status{padding:10px 22px;font-size:12px;background:#f5eee3;color:var(--brown)}.empty-chart{display:flex;align-items:center;flex-direction:column;text-align:center;max-width:450px;white-space:normal}.empty-branch{height:29px;width:1px;background:#cbbba6}.empty-placeholder{width:50px;height:50px;border:1px dashed #c8b59c;border-radius:50%;display:grid;place-items:center;background:#f8f4ed;color:#b59b7d}.empty-chart h4{font-size:14px;font-weight:600;margin:13px 0 7px}.empty-chart p{font-size:11px;color:var(--muted);line-height:1.8;margin:0 0 13px;max-width:280px}.empty-chart .btn{font-size:11px;min-height:34px;padding:7px 12px}.news-section{padding-top:40px;min-height:250px}.section-description{font-size:12px;color:var(--muted);margin:8px 0 0}.news-feed{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.news-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:24px;min-height:180px;border:1px dashed #d9cbb9;border-radius:14px;background:#f4efe6;padding:28px}.news-empty-art{width:70px;height:80px;display:grid;place-items:center;border-radius:12px;background:#e9ddcc;color:#9f7a54;transform:rotate(-7deg)}.news-empty-art .icon{width:35px;height:35px}.news-empty h3{font-family:Georgia,serif;font-weight:400;font-size:22px;margin-bottom:9px}.news-empty p{font-size:12px;color:var(--muted);line-height:1.7;max-width:330px;margin:0}.news-empty .btn{margin-top:13px;font-size:11px;min-height:34px;padding:7px 12px}.news-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);display:flex;flex-direction:column;box-shadow:var(--shadow)}.news-image-button{padding:0;background:#e9e1d3;display:block;width:100%;aspect-ratio:16/10;overflow:hidden}.news-image-button img{width:100%;height:100%;object-fit:contain}.news-card.no-image{border-top:3px solid #c9af8b}.news-card-content{padding:19px;display:flex;flex-direction:column;flex:1}.news-meta{display:flex;gap:8px;align-items:center;font-size:10px;color:#9b8b77;margin-bottom:9px}.pin-tag{color:#8f6843;display:inline-flex;align-items:center;gap:4px}.pin-tag .icon{width:11px;height:11px}.news-card-title{font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.4;margin:0;text-align:left;background:none;padding:0;overflow-wrap:anywhere}.news-excerpt{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0 17px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line}.news-card-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between}.read-more{background:none;color:var(--brown);font-size:11px;font-weight:600;padding:6px 0;display:flex;align-items:center;gap:6px}.read-more .icon{width:14px;height:14px}.news-edit{background:none;color:#9a8a78;padding:6px}.news-edit .icon{width:16px;height:16px}footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);margin-top:45px;padding:24px 0 28px;color:#9e9487;font-size:10px}.footer-brand{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:700;letter-spacing:1.5px;color:#7c6550}.mobile-nav{display:none}.loading{min-height:180px;display:flex;gap:10px;align-items:center;justify-content:center;color:var(--muted);font-size:12px;grid-column:1/-1}.spinner{width:18px;height:18px;border:2px solid #e4d7c7;border-top-color:var(--brown);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
dialog{border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);padding:0;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 40px);box-shadow:0 24px 100px #24170b33;overscroll-behavior:contain}dialog::backdrop{background:#30261d66;backdrop-filter:blur(5px)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:25px 26px 0}.modal-header h2{font-size:25px;margin:0}.modal-header p{font-size:12px;color:var(--muted);line-height:1.7;margin:8px 0 0}.icon-button{background:#f1ece4;color:#8a7765;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.icon-button .icon{width:17px;height:17px}.modal-body{padding:24px 26px 26px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;font-size:12px;font-weight:600;min-width:0}.field input,.field select,.field textarea{border:1px solid #ddd3c6;border-radius:8px;background:#fffefb;min-height:44px;color:var(--ink);padding:11px 12px;width:100%;font-size:14px;font-weight:400}.field textarea{min-height:160px;resize:vertical;line-height:1.6}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brown)}.field small,.field-hint{font-size:10px;color:var(--muted);font-weight:400;line-height:1.7}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.required{color:#ad6b47}.form-actions{display:flex;align-items:center;gap:9px;justify-content:flex-end;margin-top:25px}.form-actions .left{margin-right:auto}.form-error{padding:12px;background:#fff0ed;border:1px solid #f0cbc3;color:#9b3d30;font-size:12px;border-radius:8px;line-height:1.6;margin:12px 0}.image-field{border:1px dashed #d6c6b2;border-radius:10px;padding:14px;background:#f7f2e9;display:flex;align-items:center;gap:14px;margin-bottom:20px}.image-preview{width:66px;height:66px;border-radius:9px;background:#e9dece;color:#a4896b;display:grid;place-items:center;overflow:hidden;flex-shrink:0}.image-preview img{width:100%;height:100%;object-fit:cover}.image-field-details{font-size:11px;display:flex;flex-wrap:wrap;gap:5px 10px;align-items:center}.image-field-details .upload-label{color:var(--brown);font-weight:600;cursor:pointer;padding:7px 0;display:inline-flex;gap:5px}.image-field-details small{display:block;flex-basis:100%;color:var(--muted);font-size:10px}.remove-image{font-size:10px;background:none;color:#a86552;padding:7px}.image-field input{position:absolute;width:1px;height:1px;opacity:0}.upload-label:focus-within{outline:2px solid #bd9067;outline-offset:4px}.checkbox-field{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.6}.checkbox-field input{width:17px;height:17px;accent-color:var(--brown)}.password-wrapper{position:relative}.password-wrapper input{padding-right:46px}.password-toggle{position:absolute;right:4px;top:4px;width:36px;height:36px;background:transparent;color:#a28e77}.password-toggle .icon{width:17px;height:17px}.login-note{font-size:11px;color:var(--muted);line-height:1.8;text-align:center;margin:18px 0 0}.detail-avatar{width:82px;height:82px;font-size:28px;margin:0 auto 14px}.person-detail{text-align:center}.person-detail h3{font-family:Georgia,serif;font-weight:500;font-size:25px;margin-bottom:7px;overflow-wrap:anywhere}.person-detail p{font-size:13px;color:var(--muted);margin:6px 0;overflow-wrap:anywhere}.detail-category{display:inline-block;color:var(--brown);font-size:11px;background:#f0e6d7;border-radius:16px;padding:6px 13px;margin-bottom:16px}.detail-info{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:14px 0;text-align:left;gap:15px;font-size:12px}.detail-info span{color:var(--muted)}.detail-info strong{font-weight:500;text-align:right;overflow-wrap:anywhere;max-width:65%}.detail-actions{display:flex;justify-content:center;gap:10px;margin-top:18px}.article-image{width:100%;max-height:420px;object-fit:contain;background:#f2ece1;border-radius:10px;margin-bottom:20px}.article-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.95;color:#665c51}.article-date{font-size:11px;color:var(--muted);margin-bottom:16px}.confirm-copy{font-size:13px;line-height:1.9;color:#776b5e;overflow-wrap:anywhere}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;background:#3e594c;color:#fff;border-radius:10px;z-index:99;box-shadow:0 10px 30px #30251a20;font-size:12px;max-width:calc(100vw - 32px);line-height:1.6;width:max-content}.toast.error{background:#a34c3f}.error-state{padding:36px 20px;text-align:center;font-size:13px;color:#9b5747;max-width:400px;line-height:1.8}.error-state .btn{margin-top:14px}.account-summary{text-align:center}.account-summary .account-avatar{width:64px;height:64px;font-size:20px;margin:0 auto 14px}.account-summary p{font-size:12px;color:var(--muted);line-height:1.8}
@media(min-width:760px){.news-card:first-child:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.news-card:first-child:last-child.no-image{display:flex;max-width:100%;min-height:170px}.news-card:first-child:last-child .news-image-button{height:100%;min-height:220px;aspect-ratio:16/9}.news-card:first-child:last-child .news-card-content{padding:26px}.news-card:first-child:last-child .news-card-title{font-size:25px}}
@media(max-width:1199px){.topbar{padding:0 28px}.hero,.content-wrap{margin-left:28px;margin-right:28px}.role-tab{padding:18px;gap:10px}.hero{padding:34px}.role-count{font-size:27px}}
@media(max-width:900px){.topnav{margin-right:0;gap:18px}.hero h1{font-size:33px}.hero-art{width:270px}.hero-art>svg{width:265px}.hero-art .c1{left:-25px}.hero-art .c2{left:-75px}.role-tab{padding:16px 14px}.role-label{font-size:13px}.role-label small{font-size:9px}.role-icon{width:37px;height:37px;border-radius:10px}.role-count{font-size:24px}.chart-toolbar{flex-wrap:wrap}.chart-actions{margin-left:auto}.news-feed{gap:15px}.news-card-title{font-size:18px}.news-card-content{padding:16px}}
@media(max-width:640px){html{scroll-padding-top:18px}body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.topbar{height:76px;padding:env(safe-area-inset-top) 20px 0;gap:10px}.brand{gap:9px}.brand img{width:36px;height:36px}.brand>span{font-size:14px;letter-spacing:1.6px}.brand small{font-size:7px;letter-spacing:1.6px;margin-top:4px}.topnav{display:none}.topbar .btn{min-height:35px;font-size:11px;padding:8px 11px;gap:6px}.topbar .btn .icon{width:14px;height:14px}.hero{margin:0 14px;border-radius:16px;min-height:253px;padding:27px 24px;display:block}.hero h1{font-size:30px;line-height:1.34;letter-spacing:-.7px;margin:15px 0 12px}.hero .eyebrow{font-size:8px;letter-spacing:1.55px}.hero p{font-size:11px;margin-bottom:22px}.hero-link{font-size:11px;gap:12px}.hero-art{position:absolute;right:-74px;bottom:-30px;width:230px;height:230px;opacity:.12;pointer-events:none}.hero-art>svg{width:220px}.art-caption{display:none}.hero-art .c1{width:260px;height:260px;top:-20px;left:0}.hero-art .c2{width:340px;height:340px;top:-60px;left:-40px}.content-wrap{margin:0 16px}.organization{padding-top:28px}.section-heading{margin-bottom:17px;gap:10px}.muted{font-size:8px;letter-spacing:1.35px}h2{font-size:25px;margin-top:6px}.total-pill{font-size:9px;padding:7px 9px;gap:5px}.role-tabs{gap:9px;margin-bottom:17px}.role-tab{display:flex;flex-direction:column;gap:9px;padding:15px 8px 12px;min-height:114px;justify-content:center;text-align:center;border-radius:11px}.role-icon{width:34px;height:34px;border-radius:10px}.role-icon .icon{width:19px;height:19px}.role-label{font-size:12px;line-height:1.4;white-space:nowrap}.role-label small{display:none}.role-count{font-family:inherit;font-size:10px;color:#99846d;line-height:1;margin:0;padding:0}.role-count:after{content:' người'}.tab-arrow{right:6px;top:6px}.tab-arrow .icon{width:10px;height:10px}.chart-toolbar{padding:14px;gap:12px}.chart-title h3{font-size:12px}.chart-title{gap:7px}.chart-title .icon{width:15px;height:15px}.chart-actions{width:100%;margin-left:0;gap:8px}.search{flex:1;min-width:0;padding:0 9px}.search input{width:100%;min-width:0;font-size:12px;min-height:38px}.chart-actions .btn{font-size:10px;padding:9px 11px;min-height:38px;gap:5px}.chart-actions .btn .icon{width:14px;height:14px}.chart-scroll{min-height:305px;max-height:520px}.chart{padding:25px 20px 28px}.group-root{padding:10px 15px}.group-root strong{font-size:10px}.group-root small{font-size:9px}.empty-chart p{font-size:11px;max-width:250px}.empty-chart h4{font-size:13px}.empty-chart .btn{font-size:11px;min-height:38px}.chart-bottom{padding:8px 12px;font-size:9px}.zoom-controls button{min-width:32px;min-height:32px}.chart-bottom>span .icon{width:12px;height:12px}.news-section{padding-top:30px}.news-section .section-heading{align-items:center}.section-description{font-size:10px;margin-top:6px}.news-section .section-heading>.btn{font-size:10px;padding:8px 10px;min-height:36px;gap:4px}.news-section .section-heading>.btn .icon{width:13px;height:13px}.news-section h2{font-size:23px}.news-empty{padding:24px 18px;gap:17px;min-height:160px}.news-empty-art{width:51px;height:64px;flex-shrink:0}.news-empty-art .icon{width:27px;height:27px}.news-empty h3{font-size:20px}.news-empty p{font-size:11px}.news-feed{grid-template-columns:1fr;gap:15px}.news-card-title{font-size:22px}.news-image-button{aspect-ratio:16/10}.news-card-content{padding:18px}.news-meta{font-size:10px}.news-excerpt{font-size:13px;line-height:1.75}.read-more{font-size:12px;min-height:34px}.news-edit{min-height:36px;min-width:36px}footer{margin-top:30px;padding:21px 0 12px;flex-direction:column;gap:12px;font-size:9px}.footer-brand{font-size:9px}.footer-brand img{width:25px;height:25px}.mobile-nav{position:fixed;display:flex;justify-content:space-around;align-items:center;left:0;right:0;bottom:0;z-index:10;min-height:65px;padding:8px 16px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #e9e0d5;background:#fffefaed;backdrop-filter:blur(16px);box-shadow:0 -3px 16px #43342305}.mobile-nav a,.mobile-nav button{background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#a19485;font-size:9px;width:100px;min-height:48px;border-radius:9px}.mobile-nav .active{color:var(--brown);background:#f2eade}.mobile-nav .icon{width:20px;height:20px}.toast{bottom:calc(82px + env(safe-area-inset-bottom));font-size:12px}dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:15px}.modal-header{padding:22px 20px 0}.modal-header h2{font-size:24px}.modal-body{padding:22px 20px}.field input,.field select,.field textarea{font-size:16px}.field-row{gap:10px}.form-actions{flex-wrap:wrap}.form-actions .btn{flex:1}.form-actions .left{flex:0 0 100%;margin:0}.modal-header p{font-size:11px}.article-text{font-size:14px;line-height:1.9}.search-status{padding:10px 14px;font-size:11px}.account-button{font-size:11px;padding-right:10px}.account-avatar{width:28px;height:28px}.image-field{gap:12px;padding:12px}.person-card{width:160px}.person-name{font-size:12px}.person-position{font-size:10px}}
@media(max-width:360px){.topbar{padding-left:15px;padding-right:15px}.hero{padding:25px 20px}.hero h1{font-size:27px}.content-wrap{margin:0 12px}.total-pill{font-size:8px;padding:6px 7px}h2{font-size:23px}.field-row{grid-template-columns:1fr;gap:0}.news-section h2{font-size:21px}.role-tabs{gap:7px}.chart-actions .btn{font-size:9px;padding:9px}.news-empty{gap:13px}.news-empty h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition:none!important}}
.person-code{display:block;font-size:9px;color:#a08c75;letter-spacing:.8px;margin-top:5px}.search-results{width:min(800px,calc(100vw - 90px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;text-align:left}.person-result{display:flex;align-items:center;gap:12px;background:#fffdf8;border:1px solid #e7dccd;border-radius:10px;padding:14px;text-align:left;min-width:0}.person-result>.avatar{flex-shrink:0;width:44px;height:50px;border-radius:8px;margin:0}.person-result>span:nth-child(2){flex:1;min-width:0}.person-result strong{display:block;font-size:13px;margin:3px 0 5px;overflow-wrap:anywhere}.person-result small{font-size:9px;letter-spacing:1px;color:#9c876e}.person-result>span>span{font-size:10px;color:#8c7d6b;display:block;line-height:1.5}.person-result>.icon{width:14px;color:#ab9477}@media(max-width:640px){.search-results{grid-template-columns:1fr;width:calc(100vw - 78px)}.person-result{padding:12px 10px}}
html,body,.chart-scroll{touch-action:pan-x pan-y}
/* Branded loading screen: the three nodes light up as the connection is drawn. */
body.app-loading{overflow:hidden}.app-loader{position:fixed;inset:0;z-index:1000;background:#f6f3ed;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px;opacity:1;transition:opacity .28s ease,visibility .28s ease}.app-loader.loader-done{opacity:0;visibility:hidden;pointer-events:none}.loader-orbit{width:180px;height:180px;position:relative;display:grid;place-items:center;margin-bottom:8px}.loader-ring{position:absolute;inset:5px;border:1px solid #cfb99b75;border-radius:50%;animation:orbit-breathe 2.6s ease-in-out infinite}.loader-ring:after{content:'';position:absolute;top:18px;left:18px;width:7px;height:7px;border-radius:50%;background:#c29a68;box-shadow:0 0 0 5px #c29a6812}.loader-ring.ring-two{inset:23px;border-color:#c8b29838;animation-delay:-1.3s}.loader-ring.ring-two:after{width:4px;height:4px;top:auto;left:auto;right:10px;bottom:22px}.loader-mark{width:94px;height:94px;border-radius:27px;background:#704b35;box-shadow:0 15px 35px #704b3524;display:grid;place-items:center;animation:mark-float 2.6s ease-in-out infinite}.loader-mark svg{width:87px;height:87px}.loader-connection{stroke-dasharray:110;animation:draw-connection 2.6s ease-in-out infinite}.loader-node{transform-box:fill-box;transform-origin:center;animation:light-node 1.8s ease-in-out infinite}.node-two{animation-delay:.25s}.node-three{animation-delay:.5s}.loader-wordmark{font-size:30px;letter-spacing:3px;color:#704b35;font-weight:700;margin-top:4px}.loader-caption{font-size:8px;letter-spacing:3.5px;color:#9d866e;margin-top:10px}.loader-track{width:100px;height:3px;border-radius:5px;background:#e7dbcb;overflow:hidden;margin-top:33px}.loader-track span{display:block;width:45%;height:100%;border-radius:5px;background:#b58c5d;animation:load-progress 1.7s ease-in-out infinite}.app-loader>p{font-size:11px;color:#9f907f;margin-top:17px;text-align:center}.button-spinner{width:15px;height:15px;border-color:#ffffff55;border-top-color:currentColor}.btn-outline .button-spinner{border-color:#704b3540;border-top-color:currentColor}@keyframes orbit-breathe{0%,100%{transform:scale(.94);opacity:.5}50%{transform:scale(1.02);opacity:1}}@keyframes mark-float{0%,100%{transform:translateY(2px)}50%{transform:translateY(-3px)}}@keyframes draw-connection{0%{stroke-dashoffset:110;opacity:.4}55%,85%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:.4}}@keyframes light-node{0%,100%{opacity:.45;transform:scale(.82)}50%{opacity:1;transform:scale(1)}}@keyframes load-progress{0%{transform:translateX(-110%)}100%{transform:translateX(335%)}}@media(prefers-reduced-motion:reduce){.app-loader *{animation:none!important}.loader-track span{width:100%}.loader-connection{stroke-dashoffset:0}}
/* Per-workshop organization and compact personnel portraits. */
.person-meta{font-size:10px;color:#917b65;margin-top:5px;display:block}.tree.team-members{flex-direction:column;align-items:center;gap:0;padding-top:24px}.tree.team-members>li{padding:0 0 18px 20px;position:relative;display:block}.tree.team-members>li:before{left:0;top:0;height:100%;width:20px;border-top:0;border-right:0;border-left:1px solid #d8c9b5;border-radius:0}.tree.team-members>li:after{left:0;top:35px;height:0;width:20px;border-top:1px solid #d8c9b5;border-left:0;border-radius:0}.tree.team-members>li:last-child:before{height:35px}.tree.team-members>li:only-child:before,.tree.team-members>li:only-child:after{display:block}.tree.team-members>li:first-child:before{border-left:1px solid #d8c9b5}.tree.team-members:before{height:24px;left:calc(50% - 76px)}
.area-navigation{margin:-4px 0 18px;padding:15px 18px;background:#f0e9df;border:1px solid #e3d7c8;border-radius:12px}.area-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.area-heading>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650;color:#78583e}.area-heading .icon{width:17px;height:17px}.area-heading small{font-size:10px;font-weight:400;color:#978472;margin-left:8px}.area-heading .btn{font-size:11px;min-height:34px;padding:7px 10px;background:#fffaf1}.area-row{display:flex;align-items:center;gap:9px;min-width:0}.area-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:2px 1px 5px;flex:1;min-width:0}.area-tab{display:flex;align-items:center;gap:9px;white-space:nowrap;min-height:36px;max-width:220px;padding:8px 13px;border-radius:8px;background:#fffdf8;border:1px solid #e5d9c9;color:#897563;font-size:12px;flex-shrink:0;overflow:hidden;text-overflow:ellipsis}.area-tab.active{background:#704b35;color:#fff5e7;border-color:#704b35}.area-tab span{font-size:9px;background:#ede4d7;padding:3px 6px;border-radius:10px;color:#957e64}.area-tab.active span{background:#a6805e;color:#fff5e7}.area-edit{width:36px;height:36px;background:#fffaf1;color:#98795b;border:1px solid #ddcfbc;border-radius:8px;flex-shrink:0}.area-edit .icon{width:15px;height:15px}.area-hint{font-size:11px;line-height:1.7;color:#9b8975;margin:8px 0 0}.area-structure-note{display:flex;gap:10px;align-items:center;background:#f0e8dc;border-radius:9px;padding:14px;font-size:12px;line-height:1.8;color:#8b6b4d}.area-structure-note .icon{flex-shrink:0}.slot-type{display:block;background:#eee5d8;color:#92704e;font-size:9px;padding:5px 7px;border-radius:5px;margin:-3px 0 12px;line-height:1.35}.structured-person .avatar,.person-card .avatar{width:54px;height:60px;border-radius:10px;border:2px solid #fff;box-shadow:0 0 0 1px #e4d8c8}.avatar img{object-position:center 30%}.vacant{border:1px dashed #cdbba3;background:#faf6ee;box-shadow:none}.vacant .avatar{width:46px;height:46px;border:1px dashed #c7af92;box-shadow:none;background:#f4ebdf;color:#b39a7d;border-radius:10px}.vacant .person-name{font-size:10px;font-weight:500;color:#a18e77}.vacant .person-position{font-size:9px;color:#ac9a83}.vacant .slot-type{background:#f0e7d9}.add-worker{width:160px;min-height:52px;border:1px dashed #d4c3aa;border-radius:9px;background:#faf6ef;color:#a18460;font-size:10px;display:flex;align-items:center;justify-content:center;gap:6px;padding:12px}.add-worker .icon{width:15px;height:15px}.team-empty{font-size:9px;color:#aa9984;margin-top:16px}.detail-avatar{border-radius:14px;width:92px;height:104px;border:3px solid white;box-shadow:0 0 0 1px #e5d7c6}.chart-title{min-width:0}.chart-title h3{overflow-wrap:anywhere}.person-card{flex-shrink:0}.person-detail .detail-category{margin-top:9px}#structure-hint{background:#f3ebde;padding:10px 12px;border-radius:8px;margin-top:0}@media(max-width:640px){.area-navigation{padding:13px 12px;margin:0 0 14px}.area-heading>span{font-size:11px}.area-heading small{display:none}.area-heading .btn{font-size:10px}.area-tabs{gap:7px}.area-tab{font-size:11px;min-height:38px;padding:8px 11px;max-width:180px}.area-hint{font-size:10px}.area-edit{width:38px;height:38px}.slot-type{font-size:9px}.person-card{width:150px}.add-worker{width:145px;font-size:9px}.structured-person .avatar,.person-card .avatar{width:50px;height:56px}.vacant .avatar{width:44px;height:44px}}
