:root{--tecta:#12aeb0;--tecta-dark:#087f83;--tecta-ink:#17333c;--tecta-soft:#e7f8f7;--tecta-border:#dbe8e9;--tecta-bg:#f3f7f8}
body{background:var(--tecta-bg);color:var(--tecta-ink)}
body>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#12313b;color:#fff;padding:14px clamp(16px,3vw,40px);box-sizing:border-box}
body>header .brand{font-size:1.25rem;font-weight:850;letter-spacing:.03em;text-decoration:none;color:#fff}body>header .brand span{color:#4cdddd}body>header nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap}body>header nav a,body>header nav .link{color:#e9f9f9;text-decoration:none;background:transparent;border:0;padding:12px 14px;border-radius:9px;font:inherit;cursor:pointer}body>header nav a:hover,body>header nav .link:hover{background:#24505a;color:#fff}body>header nav form{margin:0}body>header .tecta-menu-toggle{display:none;background:#1d5058;color:#fff;border:1px solid #40747a;border-radius:9px;padding:11px 14px;font-size:1rem;cursor:pointer}
body>main{width:min(1220px,calc(100% - 32px));max-width:1220px;margin:24px auto 48px;box-sizing:border-box}body>footer{text-align:center;padding:22px 16px;color:#627b80}
body .btn,body button:not(.link):not(.tecta-menu-toggle),body input[type=submit]{background:var(--tecta);border-color:var(--tecta);color:#fff;border-radius:10px;min-height:44px;padding:10px 16px;font-weight:650;cursor:pointer}body .btn:hover,body button:not(.link):not(.tecta-menu-toggle):hover,body input[type=submit]:hover{background:var(--tecta-dark);border-color:var(--tecta-dark)}body input:not([type=hidden]):not([type=checkbox]):not([type=radio]),body select,body textarea{min-height:44px;border-radius:9px;max-width:100%;box-sizing:border-box}body textarea{min-height:96px}body a{accent-color:var(--tecta)}body .card{border:1px solid var(--tecta-border);border-radius:15px;box-shadow:0 5px 18px rgba(12,61,70,.04)}body table{display:table}body .card{overflow-wrap:anywhere}body .card table{max-width:100%}
.td-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 32px;border-radius:20px;background:linear-gradient(115deg,#12313b,#12646b);color:#fff}.td-hero h1{margin:5px 0 8px;color:#fff;font-size:clamp(1.7rem,3vw,2.5rem)}.td-hero p:last-child{margin:0;color:#d5efef}.td-eyebrow{font-size:.72rem;letter-spacing:.13em;font-weight:800;color:#188e90;margin:0 0 6px}.td-hero .td-eyebrow{color:#76e6df}.td-logo{max-width:160px;max-height:90px;object-fit:contain;background:#fff;border-radius:12px;padding:10px}.td-section-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:30px 0 14px}.td-section-heading h2{margin:0;font-size:1.4rem}.td-subtle-link{color:var(--tecta-dark);font-weight:700}.td-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.td-stat{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--tecta-ink);background:#fff;border:1px solid var(--tecta-border);padding:22px;border-radius:15px}.td-stat span{font-weight:700}.td-stat strong{font-size:2.5rem;line-height:1.1;color:var(--tecta-dark)}.td-stat small{color:#5b737a}.td-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.td-action{display:flex;flex-direction:column;gap:7px;min-height:125px;text-decoration:none;color:var(--tecta-ink);background:#fff;border:1px solid var(--tecta-border);border-radius:15px;padding:19px}.td-action:hover,.td-stat:hover,.td-module:hover{border-color:#70d1d0;box-shadow:0 6px 20px rgba(11,121,125,.1)}.td-action-icon{display:grid;place-items:center;background:var(--tecta-soft);color:var(--tecta-dark);font-size:1.35rem;width:40px;height:40px;border-radius:11px}.td-action strong{font-size:1.05rem}.td-action small{color:#5e777c}.td-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.td-module{background:#fff;border:1px solid var(--tecta-border);border-radius:15px;padding:22px;display:flex;flex-direction:column;gap:9px}.td-module-top{display:flex;align-items:center;justify-content:space-between}.td-module-symbol{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--tecta-soft);color:var(--tecta-dark);font-weight:850}.td-status{font-size:.75rem;font-weight:750;padding:6px 10px;border-radius:99px}.td-status.is-active{background:#dcf7ef;color:#17694f}.td-status.is-inactive{background:#edf1f2;color:#607277}.td-module h3{margin:4px 0 0}.td-module p{margin:0 0 8px;color:#5a7177;flex:1}.td-module-link{color:var(--tecta-dark);font-weight:800}.td-disabled{color:#839398;font-size:.9rem}.td-note{margin:25px 0;color:#698187;font-size:.86rem}
/* Existing ScopeTecta form: coherent turquoise controls without changing PHP handlers. */
body.tecta-scope10 .card{padding:clamp(16px,2.5vw,26px)}body.tecta-scope10 .card h2{color:var(--tecta-ink)}body.tecta-scope10 details{border:1px solid var(--tecta-border);border-radius:12px;padding:12px;margin:8px 0}body.tecta-scope10 summary{cursor:pointer;font-weight:700;padding:8px;color:var(--tecta-dark)}body.tecta-scope10 .card table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}body.tecta-scope10 .card form{max-width:100%}
@media(max-width:850px){.td-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.td-stats{grid-template-columns:repeat(3,minmax(0,1fr))}body>header .tecta-menu-toggle{display:block}body>header nav{display:none;flex-basis:100%;flex-direction:column;align-items:stretch}body>header nav.is-open{display:flex}body>header nav a,body>header nav .link{display:block;width:100%;text-align:left;box-sizing:border-box}body>header nav form{width:100%}}
@media(max-width:580px){body>main{width:calc(100% - 20px);margin:14px auto 35px}.td-hero{padding:22px;align-items:flex-start}.td-logo{max-width:80px;max-height:60px}.td-stats{grid-template-columns:1fr}.td-stat{padding:16px}.td-stat strong{font-size:2rem}.td-actions{gap:10px}.td-action{padding:14px;min-height:120px}.td-modules{grid-template-columns:1fr}.td-section-heading{align-items:flex-start;flex-direction:column}body.tecta-scope10 input,body.tecta-scope10 select,body.tecta-scope10 textarea{font-size:16px}}
