/* ROUND 260 — THE NEW LOOK. The design David approved (11 Nov 2026): light by default, dark
   beside it, following the device unless the person picks one with the moon button
   (remembered on this device). Every colour on the page comes from these tokens; a colour
   written anywhere else is one that won't change with the theme.
   The faces are kept with CallTime (SIL Open Font License, fonts/*-LICENSE.txt): nothing is
   fetched from Google, which the EU's courts have treated as passing the visitor's address on. */
/* ROUND 294. Vietnamese: Inter's and Space Grotesk's own Vietnamese letters (@fontsource 5.0.18, the
   release the rest were taken from). Declared first, so the Latin files still draw what they share. */
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/inter-vietnamese-400-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/inter-vietnamese-500-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/inter-vietnamese-600-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/inter-vietnamese-700-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/space-grotesk-vietnamese-500-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/space-grotesk-vietnamese-600-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/space-grotesk-vietnamese-700-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/inter-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/inter-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/inter-greek-400-normal.woff2) format('woff2');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/inter-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/inter-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/inter-greek-500-normal.woff2) format('woff2');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/inter-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/inter-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/inter-greek-600-normal.woff2) format('woff2');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/inter-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/inter-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/inter-greek-700-normal.woff2) format('woff2');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/space-grotesk-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/space-grotesk-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/space-grotesk-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/space-grotesk-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/space-grotesk-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/space-grotesk-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* ROUND 271. Arabic in the design's own kind of face: IBM Plex Sans Arabic (SIL Open Font
   License 1.1, fonts/IBMPlexSansArabic-LICENSE.txt), drawn to sit beside a grotesque Latin
   face. Only its Arabic characters, so a page downloads it only when it shows Arabic; the
   Latin in an Arabic page (CallTime, IATSE, figures) stays Inter. */
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
/* ROUND 282. India's scripts: Noto Sans Devanagari (Hindi, Marathi), Bengali, Telugu, Tamil and
   Gujarati, and Noto Nastaliq Urdu (SIL Open Font License 1.1, fonts/Noto*-LICENSE.txt). Each
   carries only its own script's characters, so a page downloads one only when it shows that
   script; the Latin words and the figures stay Inter. */
@font-face{font-family:'Noto Sans Devanagari';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/noto-sans-devanagari-devanagari-400-normal.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Noto Sans Devanagari';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/noto-sans-devanagari-devanagari-500-normal.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Noto Sans Devanagari';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/noto-sans-devanagari-devanagari-600-normal.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Noto Sans Devanagari';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/noto-sans-devanagari-devanagari-700-normal.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Noto Sans Bengali';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/noto-sans-bengali-bengali-400-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:'Noto Sans Bengali';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/noto-sans-bengali-bengali-500-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:'Noto Sans Bengali';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/noto-sans-bengali-bengali-600-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:'Noto Sans Bengali';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/noto-sans-bengali-bengali-700-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:'Noto Sans Telugu';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/noto-sans-telugu-telugu-400-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0C00-0C7F,U+1CDA,U+1CF2,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Sans Telugu';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/noto-sans-telugu-telugu-500-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0C00-0C7F,U+1CDA,U+1CF2,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Sans Telugu';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/noto-sans-telugu-telugu-600-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0C00-0C7F,U+1CDA,U+1CF2,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Sans Telugu';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/noto-sans-telugu-telugu-700-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0C00-0C7F,U+1CDA,U+1CF2,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Sans Tamil';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/noto-sans-tamil-tamil-400-normal.woff2) format('woff2');unicode-range:U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC}
@font-face{font-family:'Noto Sans Tamil';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/noto-sans-tamil-tamil-500-normal.woff2) format('woff2');unicode-range:U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC}
@font-face{font-family:'Noto Sans Tamil';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/noto-sans-tamil-tamil-600-normal.woff2) format('woff2');unicode-range:U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC}
@font-face{font-family:'Noto Sans Tamil';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/noto-sans-tamil-tamil-700-normal.woff2) format('woff2');unicode-range:U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC}
@font-face{font-family:'Noto Sans Gujarati';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/noto-sans-gujarati-gujarati-400-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0A80-0AFF,U+200C-200D,U+20B9,U+25CC,U+A830-A839}
@font-face{font-family:'Noto Sans Gujarati';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/noto-sans-gujarati-gujarati-500-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0A80-0AFF,U+200C-200D,U+20B9,U+25CC,U+A830-A839}
@font-face{font-family:'Noto Sans Gujarati';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/noto-sans-gujarati-gujarati-600-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0A80-0AFF,U+200C-200D,U+20B9,U+25CC,U+A830-A839}
@font-face{font-family:'Noto Sans Gujarati';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/noto-sans-gujarati-gujarati-700-normal.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0A80-0AFF,U+200C-200D,U+20B9,U+25CC,U+A830-A839}
@font-face{font-family:'Noto Nastaliq Urdu';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/noto-nastaliq-urdu-arabic-400-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:'Noto Nastaliq Urdu';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/noto-nastaliq-urdu-arabic-500-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:'Noto Nastaliq Urdu';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/noto-nastaliq-urdu-arabic-600-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:'Noto Nastaliq Urdu';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/noto-nastaliq-urdu-arabic-700-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
/* ROUND 344. Hebrew: Noto Sans Hebrew (SIL OFL 1.1, @fontsource/noto-sans-hebrew 5.2.8), only for Hebrew letters and the shekel sign. */
@font-face{font-family:'Noto Sans Hebrew';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/noto-sans-hebrew-hebrew-400-normal.woff2) format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'Noto Sans Hebrew';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/noto-sans-hebrew-hebrew-500-normal.woff2) format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'Noto Sans Hebrew';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/noto-sans-hebrew-hebrew-600-normal.woff2) format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'Noto Sans Hebrew';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/noto-sans-hebrew-hebrew-700-normal.woff2) format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
/* ROUND 295. Khmer: Noto Sans Khmer (SIL OFL 1.1, @fontsource/noto-sans-khmer 5.2.8), only for Khmer letters. */
@font-face{font-family:'Noto Sans Khmer';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/noto-sans-khmer-khmer-400-normal.woff2) format('woff2');unicode-range:U+1780-17FF,U+19E0-19FF,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Sans Khmer';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/noto-sans-khmer-khmer-500-normal.woff2) format('woff2');unicode-range:U+1780-17FF,U+19E0-19FF,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Sans Khmer';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/noto-sans-khmer-khmer-600-normal.woff2) format('woff2');unicode-range:U+1780-17FF,U+19E0-19FF,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Sans Khmer';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/noto-sans-khmer-khmer-700-normal.woff2) format('woff2');unicode-range:U+1780-17FF,U+19E0-19FF,U+200C-200D,U+25CC}
:root{
  --bg:#EEF0F3; --panel:#FFFFFF; --panel2:#F4F5F7; --line:#DCE0E6;
  --ink:#15181E; --muted:#596170; --accent:#1F4FD1; --accent2:#0F766E; --onaccent:#FFFFFF;
  --soft:#E8EEFF; --good:#1E7A46; --warn:#9A5800; --bad:#C62828; --spot:#15181E; --spotink:#FFFFFF; --spotmuted:#C9CED8; --spotlink:#A9C0FF; color-scheme:light;
  --indic:"Noto Sans Devanagari","Noto Sans Bengali","Noto Sans Telugu","Noto Sans Tamil","Noto Sans Gujarati";
  --font:Inter,"IBM Plex Sans Arabic",var(--indic),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-display:"Space Grotesk",Inter,"IBM Plex Sans Arabic",var(--indic),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#0B0E13; --panel:#181D25; --panel2:#11151B; --line:#2A313C;
  --ink:#E7EAF0; --muted:#9AA3B2; --accent:#86A6FF; --accent2:#2DD4BF; --onaccent:#0B1020;
  --soft:#1D2742; --good:#4FC48C; --warn:#E3A73A; --bad:#FF6B61; --spot:#232C3D; --spotink:#F2F4F8; --spotmuted:#B4BCCB; --spotlink:#A9C0FF; color-scheme:dark;
}}
:root[data-theme="dark"]{
  --bg:#0B0E13; --panel:#181D25; --panel2:#11151B; --line:#2A313C;
  --ink:#E7EAF0; --muted:#9AA3B2; --accent:#86A6FF; --accent2:#2DD4BF; --onaccent:#0B1020;
  --soft:#1D2742; --good:#4FC48C; --warn:#E3A73A; --bad:#FF6B61; --spot:#232C3D; --spotink:#F2F4F8; --spotmuted:#B4BCCB; --spotlink:#A9C0FF; color-scheme:dark;
}
*{box-sizing:border-box}
body{margin:0;font-family:var(--font);
  background:var(--bg);color:var(--ink);line-height:1.5}
header{display:flex;align-items:center;gap:16px;padding:18px 24px;border-bottom:1px solid var(--line);background:var(--panel);flex-wrap:wrap}
/* ROUND 122. `flex-wrap` — the bar already wrapped on phones and was a NO-WRAP row
   everywhere else, sitting at 857px of content before this round put anything in it.
   One more control tipped every tab 72px past the viewport and pushed the tab strip
   below its own limit. A control bar that cannot wrap is a control bar with a fixed
   budget nobody wrote down. */
.prodbase{display:flex;flex-wrap:wrap;align-items:center;gap:8px;row-gap:6px;
          font-size:12px;color:var(--muted);max-width:100%}
/* ROUND 122. The craft-agreement panel: its own line under the header, never a flex
   item in the production bar. `box-sizing` and `max-width` so its own padding can
   never put it past the viewport, which is the defect it was moved here to fix. */
.agr-panel{box-sizing:border-box;max-width:100%;padding:6px 24px;font-size:12px;
           border-bottom:1px solid var(--line);background:var(--panel)}
.agr-panel .agr-row input,.agr-panel .agr-row select{background:var(--panel2);
           color:var(--ink);border:1px solid var(--line);border-radius:6px;
           padding:5px 8px;font-size:12px;max-width:100%}
.agr-panel p.sub{margin:4px 0}
.prodbase .pb_ico{font-size:15px}
.prodbase .pb_lbl{display:flex;flex-direction:column;gap:2px}
.prodbase select,.prodbase input{background:var(--panel2);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:5px 8px;font-size:12px}
.prodbase #base_msg{color:var(--accent2)}
.brand{display:flex;align-items:center;gap:14px}
.theme-btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;border-radius:10px;color:var(--ink)}
.logo-lockup{display:block;height:46px;width:auto;color:var(--ink)}
h1{margin:0;font-size:22px;letter-spacing:.5px}
h2,h3{font-family:var(--font-display);letter-spacing:-.01em}
.tag{margin:0;color:var(--muted);font-size:13px}
.tabs{display:flex;gap:4px 2px;padding:0 16px;background:var(--panel);border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:center}
.tab{background:none;border:none;color:var(--muted);padding:14px 16px;font-size:14px;cursor:pointer;border-bottom:2px solid transparent}
.tab:hover{color:var(--ink)}
.tab.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}
/* ROUND 261 — THE FIVE AREAS. An area's heading shows only in the side menu; the bottom bar
   only on a phone. */
.area-head{display:none}
.areabar{display:none}
.show-title{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:6px 14px;
  border:1px solid var(--line);border-radius:999px;background:var(--panel2);color:var(--ink);
  max-width:100%;min-width:0}
/* The production list lies over the pill, unseen: pressing the pill opens it. */
#prod_pick.show-pick{margin-inline-start:0}
.show-wrap{position:relative;display:inline-flex;max-width:100%;min-width:0;cursor:pointer}
.prodbase .show-pick-lbl{position:absolute;inset:0;display:block;margin:0}
.show-pick-say{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.prodbase .show-pick-lbl select{position:absolute;inset:0;width:100% !important;height:100%;opacity:0;
  cursor:pointer;padding:0;border:0}
.show-wrap:focus-within .show-title{outline:3px solid var(--accent);outline-offset:2px}
.show-wrap:hover .show-title{border-color:var(--accent)}
.show-title[hidden]{display:none}
.show-name{font-family:var(--font-display);font-weight:700;font-size:17px;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;min-width:0}
.show-meta{font-size:13px;color:var(--muted);white-space:nowrap}
.show-meta:empty{display:none}
.show-title svg{flex:0 0 auto;color:var(--muted)}
main{max-width:920px;margin:0 auto;padding:24px 16px 60px}
.panel{display:none;animation:fade .2s ease}
.panel.active{display:block}
@keyframes fade{from{opacity:0;transform:translateY(4px)}to{opacity:1}}
.alert-bar{position:sticky;top:0;z-index:900;display:flex;align-items:center;gap:12px;
  padding:11px 18px;background:#f85149;color:#1a0a0a;font-size:14px;box-shadow:0 2px 10px rgba(0,0,0,.4)}
.alert-bar.warning{background:#d29922}
.alert-bar .alert-ico{font-size:18px}
.alert-bar .alert-msg{display:flex;flex-direction:column;line-height:1.25}
.alert-bar .alert-msg b{font-weight:700}
.alert-bar .alert-sub{font-size:12px;opacity:.85}
.alert-bar .alert-btn{margin-inline-start:auto;background:rgba(0,0,0,.22);color:inherit;border:none;
  padding:7px 14px;border-radius:6px;font-weight:700;cursor:pointer}
/* ROUND 286: a one-word label longer than the space left (Tamil "விவரங்கள்") was squeezed and ran
   under the close button. In India's languages, whose words can't be broken inside a syllable, the
   button shrinks no narrower than its longest word. (Not elsewhere: a long German or Greek word there
   would push a 280-pixel phone sideways, which Round 204 forbids.) */
:lang(hi) .alert-bar .alert-btn, :lang(mr) .alert-bar .alert-btn, :lang(bn) .alert-bar .alert-btn,
:lang(te) .alert-bar .alert-btn, :lang(ta) .alert-bar .alert-btn, :lang(gu) .alert-bar .alert-btn,
:lang(ur) .alert-bar .alert-btn{min-width:min-content}
/* ROUND 293: a Japanese label ("詳細を表示") is five or six characters; kept on one line. */
:lang(ja) .alert-bar .alert-btn{white-space:nowrap;min-width:max-content}
/* ROUND 294: and Vietnamese, whose words are syllables apart: "Xem chi tiết" stood one syllable a
   line, "chi tiết" (one word) cut in two. */
:lang(vi) .alert-bar .alert-btn{white-space:nowrap;min-width:max-content}
.alert-bar .alert-btn:hover{background:rgba(0,0,0,.35)}
.alert-bar .alert-x{background:none;border:none;color:inherit;font-size:16px;cursor:pointer;opacity:.8}
.alert-bar .alert-x:hover{opacity:1}
@keyframes alertpulse{0%,100%{opacity:1}50%{opacity:.72}}
.alert-bar.critical .alert-ico{animation:alertpulse 1.4s ease-in-out infinite}
h2{font-size:20px;margin:6px 0 4px}
.hint{color:var(--muted);font-size:13px;margin:0 0 18px;max-width:680px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-bottom:16px}
label{display:flex;flex-direction:column;font-size:13px;color:var(--muted);gap:6px}
label.check{flex-direction:row;align-items:center;gap:8px;color:var(--ink)}
input,select{background:var(--panel2);border:1px solid var(--line);color:var(--ink);
  padding:9px 10px;border-radius:8px;font-size:14px}
input:focus,select:focus{outline:none;border-color:var(--accent2)}
.go{background:var(--accent);color:var(--onaccent);border:none;padding:11px 22px;border-radius:8px;
  font-weight:700;font-size:14px;cursor:pointer;margin-top:4px}
.go:hover{filter:brightness(1.07)}
.add{background:var(--panel2);color:var(--ink);border:1px dashed var(--line);padding:8px 14px;
  border-radius:8px;cursor:pointer;font-size:13px;margin-bottom:14px}
.out{margin-top:22px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:14px}
.big{font-size:40px;font-weight:800;letter-spacing:-1px}
.big.good{color:var(--good)}.big.warn{color:var(--warn)}.big.bad{color:var(--bad)}
.sub{color:var(--muted);font-size:13px}
table{width:100%;border-collapse:collapse;font-size:13px;margin-top:8px}
th,td{text-align:start;padding:8px 10px;border-bottom:1px solid var(--line)}
th{color:var(--muted);font-weight:600}
td.num,th.num{text-align:end;font-variant-numeric:tabular-nums}
/* An account code and a budget's X column are read off a ledger, so they are set as one. */
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
/* ROUND 121. NINE TRACKS, AND THE RATE IS ONE OF THEM WHICHEVER SHAPE THE DEAL IS.
   An hourly row shows Rate/hr; a weekly shows the salary and the hours it covers. Putting
   those in the grid directly would have given the two shapes different column counts, so
   rows of different deals would not line up with each other — the rate cell holds
   whichever applies and the grid stays the same width for every row. */
.crew-row{display:grid;
  grid-template-columns:1.2fr .9fr .75fr 1.15fr 1fr .75fr .75fr .7fr auto;
  gap:8px;margin-bottom:8px;align-items:end}
.cratecell{display:flex;gap:8px;min-width:0}
.cratecell label{flex:1 1 0;min-width:0}
.crew-row label{font-size:11px}
.del{background:var(--panel2);color:var(--bad);border:1px solid var(--line);border-radius:8px;cursor:pointer;padding:9px 11px}
.pill{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:600}
.pill.good{background:color-mix(in srgb,var(--good) 15%,transparent);color:var(--good)}
.pill.warn{background:color-mix(in srgb,var(--warn) 15%,transparent);color:var(--warn)}
.pill.bad{background:color-mix(in srgb,var(--bad) 15%,transparent);color:var(--bad)}
.rec{border-inline-start:3px solid var(--accent2);padding:10px 14px;background:var(--panel2);border-radius:0 8px 8px 0;margin:8px 0}
.bar{height:8px;background:var(--panel2);border-radius:999px;overflow:hidden;margin-top:8px}
.bar>span{display:block;height:100%;background:var(--accent)}
footer{border-top:1px solid var(--line);padding:18px 24px;color:var(--muted);font-size:12px;text-align:center}
/* ROUND 159. The data credit's links are pointer targets like any other: 24px high on a
   desk (WCAG 2.5.8), 44px on a phone (the rule for touch targets further down). */
#addr_credit a{display:inline-block;min-height:24px;line-height:24px}
.kv{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px dashed var(--line);font-size:13px}
.kv:last-child{border:none}
.err{color:var(--bad)}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

/* ---- Grafana-style dashboard ---- */
.viewswitch{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:6px 0 18px}
.vw{background:var(--panel2);color:var(--muted);border:none;padding:8px 16px;cursor:pointer;font-size:13px}
.vw.active{background:var(--accent);color:var(--onaccent);font-weight:700}
.statgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:16px}
.stat{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px 16px}
.stat .lbl{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.4px;
  /* Round 204: one long word ("MOTIVWECHSELKOSTEN GESAMT") was wider than its card and pushed
     the German Dashboard sideways. It hyphenates where the language allows, else breaks. */
  overflow-wrap:anywhere;hyphens:auto}
.stat .val{font-size:30px;font-weight:800;letter-spacing:-1px;margin-top:4px}
.stat .val.good{color:var(--good)}.stat .val.warn{color:var(--warn)}.stat .val.bad{color:var(--bad)}
.panelbox{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin-bottom:16px}
.panelbox h3{margin:0 0 10px;font-size:14px;font-weight:600;color:var(--ink)}
.panelbox h3 .sub{font-weight:400}
.dash-table{width:100%;border-collapse:collapse;font-size:13px}
.dash-table th,.dash-table td{padding:8px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
.dash-table th{color:var(--muted);font-weight:600;text-align:start;position:sticky;top:0;background:var(--panel)}
.dash-table td.num{text-align:end;font-variant-numeric:tabular-nums}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-inline-end:6px;vertical-align:middle}
.dot.good{background:var(--good)}.dot.warn{background:var(--warn)}.dot.bad{background:var(--bad)}
#sch_table{width:100%;border-collapse:collapse;font-size:12px}
#sch_table th{color:var(--muted);font-weight:600;text-align:center;vertical-align:bottom;padding:6px 6px;border-bottom:1px solid var(--line)}
#sch_table td{padding:3px 4px;text-align:center}
#sch_table input,#sch_table select{padding:6px 7px;font-size:12px;min-width:64px}
.chartrow{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:760px){.chartrow{grid-template-columns:1fr 1fr}}
text.axis{fill:var(--muted);font-size:10px}
.legend{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-top:8px}
.legend span{display:inline-flex;align-items:center;gap:6px}
.swatch{width:12px;height:12px;border-radius:3px;display:inline-block}

/* ---- shared secondary button (was unstyled) ---- */
.ghost{background:var(--panel2);color:var(--ink);border:1px solid var(--line);
  padding:10px 16px;border-radius:8px;font-size:13px;cursor:pointer}
.ghost:hover{border-color:var(--accent2);color:var(--accent2)}

/* ---- door-to-door address bar ---- */
.addrbox{background:linear-gradient(180deg,var(--panel2),var(--panel));border:1px solid var(--line);
  border-inline-start:3px solid var(--accent2);border-radius:0 10px 10px 0;padding:14px 16px;margin:0 0 18px}
.addrhead{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px;font-size:14px}
.addrhead .addrico{font-size:16px}
.addrhead .sub{flex:1 1 260px;font-size:12px}
.addrgrid{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}
@media(max-width:700px){.addrgrid{grid-template-columns:1fr}}
.addrgrid .measure{margin-top:0;white-space:nowrap}
.addrnote{margin:10px 0 0;font-size:12px}
.addrnote.ok{color:var(--good)}
.addrnote.bad{color:var(--bad)}

/* ---- door-to-door inside a schedule row ----
   The address is the headline input on each side; the postcode and city sit under it
   because they are now mostly FILLED IN by Measure rather than typed. Keeping all three
   in one cell is also what stops the schedule table growing two more columns. */
.loccell{min-width:214px}
/* ROUND 216. "Overnight away" sits under EXT / INT / Stage and wraps: the long translations
   ("Éjszakázás bázison kívül") must never widen the row. */
.s_away_wrap{display:flex;align-items:center;gap:4px;margin-top:4px;font-size:12px;
  line-height:1.25;white-space:normal;max-width:9.5em}
.s_away_wrap input{flex:none;margin:0}
.loccell .s_addr{width:100%;min-width:200px}
.locsub{display:flex;gap:6px;margin-top:5px}
.locsub input{min-width:0;flex:1 1 50%;font-size:12px;padding:5px 7px}
.basecell{min-width:118px;white-space:nowrap}
.basecell .measure{padding:5px 9px;font-size:12px;margin-inline-start:5px;vertical-align:middle}
.rownote{display:block;margin-top:5px;font-size:11px;line-height:1.35;max-width:214px;
  white-space:normal;color:var(--muted)}
.rownote.ok{color:var(--good)}
.rownote.bad{color:var(--bad)}

/* ---- what kind of work a day is ----
   Seven counts and two cross-check boxes inside ONE cell. A native <details> keeps the
   closed row one line tall — the table is already sixteen columns — and opens in place,
   on the row it describes, so the tag and the day it belongs to cannot drift apart. */
.cxcell{min-width:132px;vertical-align:top}
.cx>summary{cursor:pointer;list-style:none;font-size:12px;line-height:1.3;padding:5px 7px;
  border:1px solid var(--line);border-radius:6px;background:var(--panel2);color:var(--ink);
  white-space:normal;max-width:132px}
.cx>summary::-webkit-details-marker{display:none}
.cx>summary::after{content:" ▾";color:var(--muted)}
.cx[open]>summary::after{content:" ▴"}
.cx>summary:hover{border-color:var(--accent)}
.cx>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cxgrid{margin-top:6px;padding:10px;border:1px solid var(--line);border-radius:6px;
  background:var(--panel2);min-width:262px}
/* `flex-direction:row` STATED, not assumed. The global `label` rule above is
   `display:flex;flex-direction:column` — a class beats it on `display`, and says nothing
   about a property it never mentions, so every label here stacked its caption above its
   box and the open panel was twice as tall as it needed to be. */
.cxrow{display:flex;flex-direction:row;align-items:center;justify-content:space-between;
  gap:10px;font-size:12px;line-height:1.3;padding:3px 0;color:var(--muted);
  white-space:normal}
.cxrow>span{flex:1 1 auto;text-align:start}   /* `#sch_table td` centres everything */
.cxrow input{flex:0 0 auto}
.cxrow input{font-size:12px;padding:4px 6px}
.cxnote{margin:8px 0 0;font-size:11px;line-height:1.35;white-space:normal;max-width:262px}
/* The group heading inside the cell — the five stunt classes, and the cross-check pair,
   each under one word. Eleven ungrouped boxes is a list; grouped, it is three lists. */
.cxhead{margin:8px 0 3px;font-size:10px;letter-spacing:.6px;text-transform:uppercase;
  color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:3px;text-align:start}
.cxhead:first-child{margin-top:0}
/* A class this show has moved off CallTime's default. */
.cxtuned{color:var(--accent2)}
.cxtunedrow td{background:color-mix(in srgb,var(--accent2) 6%,transparent)}
.cxdef{font-weight:400;white-space:normal;max-width:520px;margin-top:2px;line-height:1.4}
#cx_model_body .dash-table td{white-space:normal;vertical-align:top}

/* ---- filter chips ---- */
.chipbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.chip{display:inline-flex;align-items:center;gap:6px;background:var(--panel2);border:1px solid var(--line);
  border-radius:999px;padding:6px 13px;font-size:12px;color:var(--ink);cursor:pointer;flex-direction:row}
.chip:has(input:checked){border-color:var(--accent2);color:var(--accent2)}
.chip input{accent-color:var(--accent2);margin:0}

/* ---- cabin / mode comparison cards ---- */
.cabgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0}
.cabcard{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px 16px;position:relative}
.cabcard.best{border-color:var(--accent2);box-shadow:0 0 0 1px var(--accent2) inset}
.cabcard .cabname{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.4px}
.cabcard .cabprice{font-size:26px;font-weight:800;letter-spacing:-.5px;margin:4px 0 2px}
.cabcard .cabmeta{font-size:12px;color:var(--muted)}
.cabcard .seats{margin-top:8px;font-size:12px}
.seats.low{color:var(--bad);font-weight:700}
.seats.mid{color:var(--warn);font-weight:600}
.seats.ok{color:var(--good)}

.moderow{display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;align-items:center;
  padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel);margin-bottom:10px}
.moderow.rec{border-color:var(--accent2);background:linear-gradient(90deg,color-mix(in srgb,var(--accent2) 7%,transparent),var(--panel))}
.moderow .modeico{font-size:22px}
.moderow .modename{font-weight:600}
.moderow .modenote{font-size:12px;color:var(--muted);margin-top:2px}
.moderow .modecost{font-size:20px;font-weight:800;text-align:end;font-variant-numeric:tabular-nums}
.moderow .modedays{text-align:end;font-size:13px;color:var(--muted);min-width:92px}
.moderow.skip{opacity:.55;grid-template-columns:auto 1fr}
@media(max-width:640px){.moderow{grid-template-columns:auto 1fr}
  .moderow .modecost,.moderow .modedays{text-align:start;grid-column:2}}

/* ---- property list ---- */
.proprow{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:start;
  padding:11px 0;border-bottom:1px solid var(--line)}
.proprow:last-child{border-bottom:none}
.proprow .propname{font-weight:600}
.proprow .propmeta{font-size:12px;color:var(--muted);margin-top:2px}
.proprow .proprate{text-align:end;font-variant-numeric:tabular-nums;font-weight:700}
.proprow .propdist{text-align:end;font-size:12px;color:var(--muted);min-width:60px}
.linkrow{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:8px;font-size:13px}

.hint.warn-note{color:var(--warn)}

/* ---- ROUND 49: the recovery banner ---------------------------------------------
 * Above the tabs, because it is about the whole session and not about whichever tab
 * happens to be open. Accent-bordered rather than warning-coloured: recovered work is
 * good news, and the only genuinely cautionary state here is a draft that could not be
 * read, which gets `.warn` and says plainly that saved data is unaffected. */
#recovery_bar{padding:0 18px;margin-top:10px}
.recovery{background:var(--panel2);border:1px solid var(--line);border-inline-start:3px solid var(--accent);
  border-radius:8px;padding:12px 14px;margin-bottom:8px}
.recovery.warn{border-inline-start-color:var(--warn)}
.recovery b{color:var(--ink);font-size:14px}
.recovery .sub{color:var(--muted);font-size:12px;margin-top:4px;line-height:1.5}
.recovery-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.recovery-actions button{padding:6px 14px;font-size:12px;border-radius:6px;
  border:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer}
.recovery-actions button.primary{background:var(--accent);border-color:var(--accent);color:var(--onaccent);font-weight:600}
.recovery-actions button:hover{border-color:var(--accent)}
/* ---- ROUND 182: no signal ------------------------------------------------------- */
#offline_bar{padding:0 18px;margin-top:10px}
#offline_bar .recovery.off{border-inline-start-color:var(--warn)}
#offline_bar ul{margin:8px 0 0;padding-inline-start:18px;font-size:12px;color:var(--muted)}
#offline_bar li{margin:4px 0;line-height:1.5}
#offline_bar li .err{color:var(--bad)}
#offline_bar li button{margin-inline-start:6px;padding:2px 10px;font-size:12px;border-radius:6px;
  border:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer}
#prod_pick button.ghost{background:transparent;border:1px solid var(--line);color:var(--muted);
  border-radius:6px;padding:5px 8px;font-size:12px;cursor:pointer}
#prod_pick button.ghost:hover{color:var(--accent);border-color:var(--accent)}

/* ---- ROUND 50: a saved search wears its date ------------------------------------
 * A price is only true at a moment. A stored quote shown without that moment attached
 * is worse than showing nothing, because nothing is obviously nothing while a confident
 * number with no date gets typed into a budget. The band is therefore never subtle, and
 * past the per-kind staleness window it turns warn-coloured and says to re-run. */
.searchband{background:var(--panel2);border:1px solid var(--line);border-inline-start:3px solid var(--accent);
  border-radius:8px;padding:10px 12px;margin-bottom:10px}
.searchband.warn{border-inline-start-color:var(--warn)}
.searchband b{color:var(--ink);font-size:13px}
.searchband .sub{color:var(--muted);font-size:12px;margin-top:3px;line-height:1.5}
.searchband-actions{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.searchband-actions button{padding:5px 12px;font-size:12px;border-radius:6px;
  border:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer}
.searchband-actions button:hover{border-color:var(--accent);color:var(--accent)}
.searchhistwrap{margin-top:10px}
.searchhist summary{cursor:pointer;padding:6px 0}
.histrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:6px 8px;
  border-top:1px solid var(--line);font-size:12px}
.histrow.stale .histage{color:var(--warn)}
.histwhen{color:var(--muted);min-width:150px}
.histwhat{color:var(--ink);flex:1;min-width:180px}
.histage{color:var(--muted);min-width:170px}
.histrow button{padding:3px 9px;font-size:11px;border-radius:5px;border:1px solid var(--line);
  background:var(--panel);color:var(--muted);cursor:pointer}
.histrow button:hover{color:var(--accent);border-color:var(--accent)}

/* ---- ROUND 51: an import that never hides which half is which -------------------
 * The one thing this panel has to make impossible is a screen where a date read off a
 * printed footer and a stunt guessed from the word "swimming" look equally settled. So
 * the two confidence bands are drawn differently, and the weaker one carries the warn
 * colour it has earned: measured against a real 220-scene board, the description guesses
 * were wrong about half the time. Nothing here is ticked when it arrives. */
.importbox{border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin:12px 0;
  background:var(--panel2)}
.importbox summary{cursor:pointer;font-weight:600;padding:4px 0}
.importbox input[type=file]{font-size:12px;color:var(--muted)}
.impsum{font-size:15px;margin:10px 0 4px}
.warnrow{border-inline-start:3px solid var(--warn);background:var(--panel);border-radius:0 6px 6px 0;
  padding:7px 10px;margin:6px 0;font-size:12px;line-height:1.5;color:var(--ink)}
.candtable{width:100%;border-collapse:collapse;font-size:12px;margin-top:6px}
.candtable th{text-align:start;color:var(--muted);font-weight:600;padding:5px 6px;
  border-bottom:1px solid var(--line)}
.candtable td{padding:5px 6px;border-bottom:1px solid var(--line);vertical-align:top}
.candtable code{background:var(--panel);padding:1px 5px;border-radius:4px;color:var(--warn)}
/* Tagged by a person on the breakdown sheet: the engine is reading a decision. */
tr.cand.high{border-inline-start:3px solid var(--accent)}
tr.cand.high td:first-child{border-inline-start:3px solid var(--accent)}
/* Guessed from prose. Drawn as the weaker claim it is. */
tr.cand.low td:first-child{border-inline-start:3px solid var(--warn)}
tr.cand.low td{color:var(--muted)}
tr.cand.low td b{color:var(--ink)}

/* ---- ROUND 52: the cast book a Day Out of Days adds ----------------------------- */
.castbook{margin:10px 0;border:1px solid var(--line);border-radius:8px;padding:8px 10px}
.castbook summary{cursor:pointer;font-size:12px;color:var(--muted)}
.castbook table{margin-top:8px}

/* ROUND 75 — the week navigator. Hidden rows are hidden, not removed: getSchedule() reads
   every row whatever its display, so the whole show is still what gets priced. */
#sch_body tr.wk-hidden{display:none}
.weeknav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 12px;padding:10px 12px;
  border:1px solid var(--line);border-radius:8px;background:var(--panel, transparent)}
.weeknav button{min-width:40px;font-variant-numeric:tabular-nums}
.weeknav button:disabled{opacity:.35;cursor:default;border-color:var(--line);color:var(--muted)}
/* The app's `label` is a column with its control underneath, and `select` fills its
   container; inside the pager both would push "Jump to" onto a line of its own. */
.weeknav .wk-jump{flex-direction:row;align-items:center;gap:8px;margin:0 0 0 8px;min-width:0;max-width:100%}
/* A select is as wide as its longest option — "Week 12 · Mon, Mar 22 – Sun, Mar 28 · 5 days"
   — and at phone width that ran past the screen. It may shrink; the open list still shows
   the whole text. */
.weeknav select{width:auto;min-width:0;max-width:100%;text-overflow:ellipsis}
@media (max-width:560px){
  .weeknav .wk-jump{flex:1 1 100%;margin:0;white-space:nowrap}
  .weeknav select{flex:1 1 auto;width:100%}
}
.weeknav .wk-label{font-weight:600;font-variant-numeric:tabular-nums}
.weeknav .sub{flex-basis:100%}
.scopehead{margin:18px 0 8px;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.scopehead b{color:inherit;text-transform:none;letter-spacing:0;font-size:15px}
.scopehead .sub{text-transform:none;letter-spacing:0}
/* A studio week is seven figures with cents; the whole-show tiles never have to hold one. */
#wk_stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
#wk_stats .val{font-size:22px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}

/* ===========================================================================
   ROUND 76 — ONE APP ON A PHONE, A TABLET AND A DESK.

   Measured before anything was changed, across all seventeen tabs at seven screen sizes:
   every tab scrolled sideways on a phone (by up to 1,040px), two did on an iPad, and two did
   on a 1440px DESKTOP; 897 inputs were under 16px, which makes iOS Safari zoom the page on
   every tap; the seventeen tabs took seven rows — the whole first screen of an iPhone — before
   any content; and two controls marked `hidden` were showing on every device.

   TOUCH SIZING IS FOR TOUCH. Everything under `(pointer: coarse)` applies to phones and
   tablets and to nothing driven by a mouse, so the desktop keeps exactly the density it had.
   Layout changes are by WIDTH; sizing changes are by POINTER. An iPad is wide enough for the
   table layout and still gets thumb-sized controls.
   =========================================================================== */

/* THE `hidden` ATTRIBUTE MEANS HIDDEN. The browser's own `[hidden]{display:none}` loses to
   any author rule that sets `display`, and `label{display:flex}` above is one. So the live
   refresh cadence and the daily call ceiling — which rounds 39 and 40 wrote "appear only once
   live is on", and whose code sets `.hidden = !on` correctly — have been showing on every
   device with live mode off. */
[hidden]{display:none !important}

/* Tables that were never given a scroll box. */
.tscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}

/* THE CREW ROW. A dropdown is never narrower than its longest option, and the crew row's
   grid could not make a column narrower than the control in it — so the row's dropdowns
   ran 214px past a 1440px DESKTOP screen on the Move Cost tab (the row's own box did not:
   the controls spilled out of it). Letting the CONTROL shrink is the fix. A `minmax(0, …)`
   version of the columns was written here first; with the control rule in place, taking it
   out changed nothing measurable at any width, so it went. */
.crew-row input,.crew-row select{width:100%;min-width:0;box-sizing:border-box}

/* --- TOUCH: phones and tablets, not mice ----------------------------------------------- */
@media (pointer: coarse){
  /* iOS Safari zooms the whole page when an input under 16px takes focus, and does not zoom
     back. The floor is 16px; anything the app already set larger stays larger. Important,
     because inline widths and class rules (`.prodbase select` is 12px) otherwise win. */
  input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{
    font-size:max(16px,1em) !important;min-height:44px}
  /* 44 by 44 is the size a thumb hits reliably (Apple's guidance; WCAG 2.2 sets 24 as the
     floor). */
  button,.go,.ghost,.tab{min-height:44px}
  /* ROUND 122. 44 BY 44 WAS ALWAYS THE RULE; ONLY THE HEIGHT WAS ENFORCED. The travel
     tab's `Pin` came out 43.3px wide and the search-history `✕` 29.2px — a button whose
     label is one glyph is exactly the one a thumb misses. `.del` and `.alert-x` were each
     given the width as somebody noticed them; it belongs on the element. */
  button{min-width:44px}
  button.del{min-width:44px;min-height:44px}
  /* ROUND 122. A LINK CAN BE A CONTROL. `linkTag` is the one renderer for every outbound
     link the API hands back — flight comparisons, carrier tracking, equipment directories,
     the official source behind a figure — and they were 15px to 19.5px tall on a phone.
     They are also the links most likely to be tapped ON a phone, by somebody on a set who
     is not at a desk. Prose links keep their text flow: only these are sized.

     AND IT HAD TO BE STRUCTURAL, NOT JUST THE CLASS. A saved search stores the rendered
     HTML of its answer, so every search a producer pinned before today replays markup
     that will never carry a class added afterwards. `.xlink` sizes everything rendered
     from now on, wherever it appears; `.linkrow a` and `.sh_status a` also reach the
     snapshots already on disk. A styling fix that only matches new markup silently skips
     the screens somebody saved because they mattered.

     AND A LINK WITH AN `onclick` IS A BUTTON WEARING AN `<a>`. "Clear" on a saved budget
     was 31x15; so are "Retry", "reload and discard", "Log out" and the admin row. The
     scan already counts `[onclick]` as a tap target, so the rule and the measurement now
     use one definition of "control" instead of two. */
  a.xlink,.linkrow a,.sh_status a,a[onclick],a[href="#"],#addr_credit a{
    min-height:44px;min-width:44px;display:inline-flex;align-items:center}
  /* 24 is WCAG 2.2's floor for a target; the label round it is the 44px row. */
  input[type=checkbox],input[type=radio]{width:24px;height:24px;flex:0 0 auto}
  /* The work-type picker's column heads are 10px — too small to read held at arm's length. */
  .cxhead{font-size:12px}
  .alert-x{min-width:44px}
  summary{min-height:44px;display:flex;align-items:center}
  label.check,.prodbase label.sub{min-height:44px}
  /* A checkbox and its word side by side: the app's `label` is a column, which put "live"
     underneath its own box. */
  .prodbase label.sub{flex-direction:row;align-items:center;flex:0 0 auto}
  .prodbase select,.prodbase input{padding:8px 10px}
  /* A table cell's controls sit in rows a thumb has to hit one at a time. */
  #sch_body td{padding-top:6px;padding-bottom:6px}
}

/* --- NARROW: phones (and a split-screen iPad) ----------------------------------------- */
@media (max-width: 700px){
  /* THE HEADER. It wrapped, but its controls kept their desktop widths and the live controls
     ran off the right edge. Each group takes a full row and its controls fill it. */
  header{padding:12px 16px;gap:10px}
  .logo-lockup{height:38px}
  .prodbase{flex:1 1 100%;flex-wrap:wrap;margin-inline-start:0 !important;row-gap:6px}
  .prodbase .pb_lbl{flex:1 1 0;min-width:0}
  /* NOT the checkboxes: made 100% wide, the live switch tried to be as wide as its own label,
     squeezed the label to 46px and spilled its word 9px off the screen. */
  .prodbase select,.prodbase input:not([type=checkbox]):not([type=radio]){width:100% !important;
    min-width:0;box-sizing:border-box}
  #base_city{flex:1 1 140px}
  /* Round 204: kept at 190px beside a longer word ("convention collective", "contratto
     collettivo") the agreement's dropdown ran up to 62px off a narrow phone in nine languages.
     It stays where it is when it fits; when it doesn't, the pair wraps to a row of its own and
     the dropdown gives up width instead of running off (`.prodbase select` above already lets it
     shrink; it was the label that couldn't). The first fix gave it a row of its own on every
     phone, which made the header 37px taller and pushed the tabs down. */
  #prod_agreement_wrap{flex:0 1 auto;min-width:0;max-width:100%}
  /* The production base's dropdown gets a row of its own; squeezed beside the city it read
     "Aut⌄". The production picker keeps "+ New" beside it. */
  #prod_base .pb_lbl{flex:1 1 calc(100% - 32px)}

  /* THE ALERT BAR STAYS PINNED — "this is not an all-clear" is not a message to scroll past —
     but on a phone its detail line held a quarter of the screen over the work for as long as
     the page was open. The headline and its buttons stay; the detail is one tap away under
     "View details". */
  .alert-bar{padding:8px 12px;gap:8px}
  .alert-bar .alert-sub{display:none}
  .alert-bar .alert-msg b{font-size:14px}
  .alert-bar .alert-btn{padding:6px 10px;font-size:13px}

  /* THE TABS: ONE ROW YOU SWIPE, not seven rows before any content. The strip scrolls in its
     own box, so the page does not; the fade at the edge says there is more. */
  .tabs{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding:0 8px;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
    -webkit-mask-image:linear-gradient(to right,#000 88%,transparent);
            mask-image:linear-gradient(to right,#000 88%,transparent)}
  .tabs::-webkit-scrollbar{display:none}
  /* ROUND 147. Right to left, the strip starts at the right and the "more" fade is on the left. */
  [dir=rtl] .tabs{-webkit-mask-image:linear-gradient(to left,#000 88%,transparent);
                          mask-image:linear-gradient(to left,#000 88%,transparent)}
  .tab{flex:0 0 auto;white-space:nowrap;padding:12px 14px}
  main{padding:16px 16px 60px}

  /* THE SCHEDULE AS CARDS. Every shoot day becomes a card of labelled fields. The markup is
     exactly the table it always was — same rows, same inputs, same classes — so
     `getSchedule()` reads it the same way and the pricing cannot tell the difference. The
     labels come from the table's own headings (see `labelScheduleCells`), so a column added
     to the table is labelled on the card without anybody remembering to. */
  #sch_table thead{display:none}
  #sch_table,#sch_table tbody{display:block;width:100%}
  /* `dense` so a half-width field fills the gap a full-width one leaves, instead of sitting
     alone on its row with half the card empty beside it. */
  #sch_body tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;
    grid-auto-flow:row dense;
    padding:14px;margin:0 0 12px;border:1px solid var(--line);border-radius:12px;
    background:var(--panel)}
  /* The week pager's `#sch_body tr.wk-hidden{display:none}` (round 75) still hides a card:
     it is more specific than `#sch_body tr` here, so it wins wherever it sits. A copy of it
     was written here first; deleting that copy changed nothing measurable, so it went. */
  #sch_body td{display:flex;flex-direction:column;gap:4px;padding:0;border:0;min-width:0;
    text-align:start;align-items:stretch}
  /* The day's own name heads its card. */
  #sch_body td:nth-child(2){order:-1}
  #sch_body td::before{content:attr(data-label);font-size:12px;color:var(--muted);
    letter-spacing:.02em}
  #sch_body td[data-wide]{grid-column:1 / -1}
  #sch_body td:not(:last-child) button,#sch_body td details.cx>summary{width:100%;box-sizing:border-box}
  #sch_body td:last-child{grid-column:1 / -1;align-items:flex-end}
  #sch_body td:last-child::before{content:none}
  #sch_body td input,#sch_body td select,#sch_body td textarea{width:100% !important;
    min-width:0 !important;max-width:100%;box-sizing:border-box}

  /* THE CREW ROW AS A CARD. Name across the top, the rest two to a row. */
  .crew-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px;
    border:1px solid var(--line);border-radius:12px;background:var(--panel)}
  .crew-row label:first-child{grid-column:1 / -1}
  .crew-row button.del{grid-column:2;justify-self:end}
}

/* --- EXPLANATIONS ON A DEVICE WITH NO HOVER ------------------------------------------ */
/* 149 explanations in this app live in a `title` tooltip, which a touchscreen never shows.
   On a device with no hover, a column heading that carries one gets a marker, and tapping it
   (or anything else with a long title that is not a control) opens the text — see
   `touchTips()`. */
@media (hover: none){
  th[title]::after{content:" ⓘ";color:var(--accent2);font-weight:400}
  /* The conventional "there is more to read here" mark, on a label's own words. Inputs are
     replaced elements, so the underline stays on the words and off the field. */
  label[title]{text-decoration:underline dotted;text-underline-offset:3px;
    text-decoration-color:var(--accent2)}
}
#tipbox{position:fixed;z-index:1000;max-width:min(92vw,420px);padding:12px 14px;border-radius:10px;
  background:var(--panel2);color:var(--ink);border:1px solid var(--accent2);
  box-shadow:0 8px 30px rgba(0,0,0,.45);font-size:14px;line-height:1.45}
#tipbox[hidden]{display:none !important}

/* ===========================================================================
   ROUND 77 — THE DESK, THE BIG SCREEN, THE KEYBOARD, THE PRINTER, THE WORLD.

   Round 76 made the app work by thumb. This round measured what it had not: a 24px
   target floor for a mouse (WCAG 2.2), a monitor wider than 920px, a keyboard with no
   mouse at all, a screen reader, a printed page, a phone on its side with the keyboard up,
   a person who has asked their device for less motion, and a slow phone holding a studio
   show. Each rule below says what it was measured doing before it was written.
   =========================================================================== */

/* THE PAGE USES THE SCREEN. `main` was 920px on every monitor: 48% of a 1920px screen,
   27% of an ultrawide, while six tabs scrolled their tables sideways inside a box. The
   ceiling is now 1600px. Running prose keeps its own measure — 75 characters, paragraphs and
   hints alike (a hint set at 12px and capped at 680px was 110 characters to the line) — so
   a wide screen gets wider TABLES, not longer lines to read. */
main{max-width:1600px}
main p,main .hint{max-width:75ch}

/* A FOCUS RING ON EVERYTHING A KEYBOARD CAN REACH. `input:focus{outline:none}` above
   (a style choice from round 1) left fields with only a 1px border colour change and
   checkboxes with nothing at all: of the first 140 controls a Tab key reached, 108 showed
   no ring. `:focus-visible` is the keyboard's focus, so a mouse click does not draw it. */
:is(input,select,textarea,button,summary,a,[tabindex]):focus-visible{
  outline:2px solid var(--accent2) !important;outline-offset:2px}
/* A date or time box is focused on one of its parts (day, month, hour), inside the box,
   and Chrome reports that as neither `:focus` nor `:focus-visible` on the box — only
   `:focus-within` — so the day's date and call
   time were the two boxes in each schedule row a keyboard still could not see. */
:is(input[type=date],input[type=time],input[type=datetime-local]):is(:focus,:focus-within){
  outline:2px solid var(--accent2) !important;outline-offset:2px}

/* 24px: WCAG 2.2's floor for a pointer target, on the desk too. Round 76 left 77 desk
   targets under it — live switches, the alert's ✕, the compare and on-costs ticks, the
   small disclosure rows. A checkbox is 20px and its target is its label (a click on the
   words ticks it); one with no label is 24px on its own. */
@media (pointer: fine){
  input[type=checkbox],input[type=radio]{width:20px;height:20px;margin:2px}
  td>input[type=checkbox]:only-child,td>input[type=radio]:only-child{width:24px;height:24px}
  /* Inside `(pointer: fine)` like everything here: the first version set this floor for
     every device, came after round 76's 44px touch floor in the file, and quietly beat it
     — 176 phone controls went back to 33px, and round 76's thumb test said so. */
  button,summary,select{min-height:24px}
  button{min-width:24px}
}

/* LESS MOTION WHEN THE DEVICE ASKS FOR IT. The critical alert pulsed forever and every
   panel slid in; both are off for anybody who has set "reduce motion" (iOS, Android,
   macOS and Windows all have the switch). */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none !important;transition:none !important;scroll-behavior:auto !important}
}

/* A PHONE ON ITS SIDE WITH THE KEYBOARD UP has about 200px of page. The pinned alert
   took 66 of them — a third of what was left to type into. On a screen that short the
   alert stays at the top of the page and scrolls away with it. */
@media (max-height: 500px){
  .alert-bar{position:static}
}

/* A STUDIO SHOW ON A SLOW PHONE. 150 crew cards and 90 day cards are ~20,000 elements,
   and every tab switch laid all of them out: 640ms to open Move Cost on a phone at a
   quarter of a laptop's speed. A card off the screen is now skipped until it scrolls
   near, and keeps a placeholder height so the scrollbar does not jump. (Table rows
   cannot be skipped this way — the rule would be ignored — so it is for cards only.) */
@media (max-width: 700px){
  .crew-row{content-visibility:auto;contain-intrinsic-size:auto 170px}
  #sch_body tr{content-visibility:auto;contain-intrinsic-size:auto 520px}
  /* ROUND 138. A DAY CARD OFF THIS WEEK'S PAGE IS FOLDED TO NOTHING, NOT TAKEN OUT OF THE
     PAGE. Taken out (`display:none`), every card the next week brought back had to be
     styled again from scratch, all thirty of its fields, before the page could draw:
     ~110ms of a week ▶ on a phone at a quarter of a laptop's speed, most of the press.
     Folded, it keeps its box at no height, so a card coming back off-screen costs nothing
     until it scrolls near. Like `display:none`, a folded card's fields can't be reached by
     Tab, read by a screen reader or found by Find. (Table rows ignore this, so the desk's
     table keeps `display:none` above.) */
  #sch_body tr.wk-hidden{display:grid;content-visibility:hidden;contain-intrinsic-size:none;
    height:0;min-height:0;padding:0;margin:0;border:0;overflow:hidden}
}

/* PRINTED. There was no print stylesheet: a printed Dashboard carried the tab bar, the
   header's pickers, the alert, 51 buttons, and tables cut off at the edge of their
   scroll boxes. Printed, a page is the active panel's content, whole. */
/* Landscape: a production's tables are wide (the schedule is 14 columns of boxes), and a
   portrait Letter page left the day-by-day results 1,400px too wide for the paper. */
@page{size:landscape;margin:10mm}
@media print{
  :root{color-scheme:light}
  body{background:#fff !important;color:#000 !important}
  header .prodbase, nav.tabs, .areabar, .alert-bar, #week_nav, #tipbox,
  button, .go, .ghost, .add, .noprint{display:none !important}
  main{max-width:none;padding:0}
  *{position:static !important;box-shadow:none !important}
  .tscroll,[style*="overflow"],div{overflow:visible !important}
  table{width:100%}
  th,td{padding:3px 4px}
  tr,.card{break-inside:avoid}
  .card,.panel{border-color:#999 !important;background:#fff !important}
  *{color:#000 !important;background:transparent !important}
  input,select,textarea{border:none !important;background:none !important;padding:0 !important;
    font-size:8pt !important;min-height:0 !important;color:#000 !important;
    width:100% !important;min-width:0 !important;max-width:100% !important;box-sizing:border-box}
  /* Every column gets its share of the page and its words wrap inside it, instead of
     the widest word in each column deciding how wide the table is. */
  table{table-layout:fixed;font-size:8pt}
  th,td,th *,td *{overflow-wrap:anywhere;white-space:normal !important}
  select{appearance:none;-webkit-appearance:none}
  /* A box cannot wrap its own text, so "333 S Grand Ave" printed as "333 S Gran". Just
     before printing, `printValues()` writes each box's value beside it as plain text;
     printed, the text shows and the box does not. */
  .pv{display:inline !important;white-space:pre-wrap;font-size:8pt}
  input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{display:none !important}
  header,summary,.cx>summary{background:none !important;color:#000 !important}
  details:not([open])>*:not(summary){display:none}
}

.pv{display:none}

/* A box CallTime could not read, or one the server refused, is marked where it is. */
[aria-invalid="true"]{border-color:var(--bad) !important;box-shadow:0 0 0 2px color-mix(in srgb,var(--bad) 35%,transparent)}

/* A dropdown is as wide as its longest option unless told otherwise: the incentive picker
   under a priced Dashboard ran 53px off a folding phone's 280px screen (and 13px off an
   iPad in Slide Over) — round 76's sweep walked the tabs before anything was priced. */
select{max-width:100%}
label.sub{min-width:0}
/* ROUND 80. Each person's hours this week, on the Move Cost tab: a name and a number per
   row, two columns where there is room and one on a phone. */
.wkeach{border:1px solid var(--line);border-radius:10px;padding:6px 12px}
.wkeach summary{cursor:pointer;font-weight:600;padding:6px 0;min-height:24px}
.wkeach-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:6px 16px}
.wkeach-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0}
.wkeach-row span{overflow-wrap:anywhere}
.wkeach-row input{width:7em;flex:none}
/* ROUND 80. The Excel button every tab carries for its own tables. */
.xlsx-tab{float:inline-end;margin:0 0 6px 8px}
.tablewrap{overflow-x:auto;max-width:100%}
/* ROUND 87 — a figure that is over or under, in a table of them. The stat tiles already
   have `.val.good` / `.val.bad`; a variance column needs the same two colours on a cell. */
.dash-table td.good{color:var(--good)}
.dash-table td.bad{color:var(--bad)}

/* ROUND 88 — the audit log's proof, and the entries that record a refusal.
   Drawn from the same three tokens the rest of the app uses, so both themes and the
   high-contrast mode round 76 added carry over without a second definition. */
.proofrow{border-inline-start:3px solid var(--good);background:var(--panel);
  border-radius:0 6px 6px 0;padding:9px 12px;margin:10px 0;font-size:13px;
  line-height:1.5;color:var(--ink)}
.proofrow.broken{border-inline-start-color:var(--bad)}
.proofrow ul{margin:6px 0 0 18px;padding:0}
tr.refused td:first-child{border-inline-start:3px solid var(--warn)}
tr.refused{color:var(--muted)}

/* ROUND 124. The budget review: a list of sentences about figures CallTime did not change,
   so it is set as prose rather than as another table of numbers to be scanned. */
.revlist{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.revlist li{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline;line-height:1.45}
.revlist .sub{flex:1 1 100%;margin-inline-start:2px}

/* ROUND 140. A FILE PATH IS ONE LONG WORD. The inventory tab names the file it is editing,
   and a deployment whose data folder sits deep (a temp folder, a mounted volume) pushed a
   280px phone 26-39px sideways with it. A path breaks anywhere rather than nowhere. */
#inv_status .sub{overflow-wrap:anywhere}

/* ROUND 141. ON A PHONE, A TAB THAT ISN'T OPEN IS FOLDED, NOT TAKEN OUT OF THE PAGE —
   round 138's week-pager fix, applied to the tabs. Taken out (`display:none`), a tab was
   restyled from scratch every time it opened: Move Cost's 150 crew cards, ~370ms of a
   tap on a phone at a quarter of a laptop's speed. Folded, it keeps its styling, and the
   cards off the screen are skipped until they scroll near. Like `display:none`, a folded
   tab can't be reached by Tab, read by a screen reader or found by Find. At a desk the
   cost was never felt, and tabs there are still taken out. */
@media (max-width: 700px){
  .panel:not(.active){display:block;content-visibility:hidden;contain-intrinsic-size:none;
    height:0;min-height:0;padding:0;margin:0;border:0;overflow:hidden;animation:none;
    visibility:hidden}
}

/* ROUND 147 — RIGHT TO LEFT (Arabic; Hebrew, Persian and Urdu with it).
   Every margin, border and alignment on the page is written as start/end rather than
   left/right, so `dir="rtl"` on the page mirrors the whole layout by itself. What is left here
   is what direction alone cannot decide:
     * an arrow that means "back" or "forward" points the other way;
     * what a person TYPES — an address, a name, a postcode, a figure — sets its own direction
       from its first strong letter, so "333 S Grand Ave" reads left to right inside an Arabic
       page and an Arabic street name reads right to left on an English one;
     * the charts keep time running left to right, as Arabic business charts do, and figures
       stay in the digits the rest of the page uses. */
[dir=rtl] #wk_prev, [dir=rtl] #wk_next, [dir=rtl] .flip-rtl{transform:scaleX(-1)}
input, textarea{unicode-bidi:plaintext}
[dir=rtl] svg{direction:ltr}
[dir=rtl] code, [dir=rtl] .num{direction:ltr;unicode-bidi:isolate}

/* ROUND 149. The banner over a draft nobody has reviewed yet. */
.draftbar{position:sticky;top:0;z-index:60;display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;
  padding:8px 16px;background:#fff4d6;color:#5a4100;border-block-end:2px solid #d9a400;font-size:13px;line-height:1.35}
.draftbar span{opacity:.8}

/* ROUND 164. The account's subscription state, above the tabs. */
.acct-banner{margin:0;padding:8px 16px;font-size:13px;line-height:1.4;
  background:color-mix(in srgb,var(--warn) 12%,transparent);color:var(--ink);border-bottom:1px solid color-mix(in srgb,var(--warn) 40%,transparent)}
.acct-banner.bad{background:color-mix(in srgb,var(--bad) 10%,transparent);border-bottom-color:color-mix(in srgb,var(--bad) 45%,transparent)}
/* ROUND 165. The locked account's screen: the whole window, two ways forward. */
#account_lock{position:fixed;inset:0;z-index:1100;display:flex;align-items:center;
  justify-content:center;background:var(--bg);padding:16px}
#account_lock[hidden]{display:none}
#account_lock .lock-box{background:var(--panel);border:1px solid var(--line);border-radius:12px;
  padding:26px;max-width:440px;width:100%;line-height:1.5}
#account_lock .lock-box a.go{display:inline-block;text-decoration:none}
/* ROUND 167. The card screen. */
#account_lock .card-first{display:flex;flex-direction:column;gap:8px;text-align:start}
#account_lock .card-first[hidden]{display:none}
#account_lock .card-plans{border:1px solid var(--line);border-radius:8px;padding:8px 12px;
  display:flex;flex-wrap:wrap;gap:6px 18px;margin:0}
#account_lock .card-plans label{display:flex;gap:6px;align-items:center}
#account_lock #card_email{width:100%;box-sizing:border-box}
#account_lock #card_element:not(:empty){padding:4px 0}

/* ROUND 168. Sign-up, on the sign-in screen. */
#auth_signup{display:flex;flex-direction:column;gap:10px}
#auth_signup[hidden]{display:none}
#auth_signup label{display:flex;flex-direction:column;gap:6px}
#auth_signup .su-trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
#auth_signup #su_btn{width:100%;margin-top:6px}
#account_lock .card-consent{border:1px solid var(--line);border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}
#account_lock .card-consent[hidden]{display:none}

/* ROUND 172. The password forms. */
.pw-form{display:flex;flex-direction:column;gap:10px}
.pw-form[hidden]{display:none}
.pw-form label{display:flex;flex-direction:column;gap:6px}
#auth_forgot #fg_btn,#auth_reset #rs_btn{width:100%;margin-top:6px}

/* ROUND 173. Closing and deleting the account. */
.leave-part{display:flex;flex-direction:column;gap:10px;padding-top:14px;margin-top:14px;border-top:1px solid var(--line)}
.leave-part h3{margin:0}
.leave-part p{margin:0}
#lv_delete_do{display:flex;flex-direction:column;gap:8px}
#lv_delete_do input{max-width:100%}
.leave-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}

/* ROUND 175. The Terms box, at sign-up and on the locked screen. */
.su-terms{display:flex;gap:8px;align-items:flex-start;flex-direction:row}
.su-terms[hidden]{display:none}
.su-terms input{width:auto;margin-top:3px;flex:0 0 auto}
.lock-terms{display:flex;flex-direction:column;gap:10px;margin:8px 0}
.lock-terms[hidden]{display:none}

/* ROUND 240. The logo on the sign-in and locked-account screens, in place of the clapperboard:
   the panel's own ink, a little smaller than the header's. */
.logo-panel { display: block; height: 40px; width: auto; max-width: 100%; color: var(--ink); }

/* ROUND 261 — ON A LAPTOP, THE SIDE MENU. The five areas down the side, each with its tabs
   beneath, as in the design. It sits on the reading side: the left, or the right in Arabic. */
@media screen and (min-width:1000px){
  body{padding-inline-start:248px}
  nav.tabs{position:fixed;inset-block:0;inset-inline-start:0;width:248px;z-index:50;
    flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;
    gap:4px;padding:20px 12px 28px;overflow-y:auto;border-bottom:0;
    border-inline-end:1px solid var(--line);background:var(--panel)}
  /* ROUND 262. The five areas, as in the design: each a button with its line beneath; the
     open one is lit, and only its tabs show, under it. */
  .area-head{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;
    min-height:52px;padding:10px 14px;border:0;border-radius:10px;background:transparent;
    text-align:start;cursor:pointer;color:var(--ink)}
  .area-head:hover{background:var(--panel2)}
  .area-head b{font-family:var(--font-display);font-size:16px;font-weight:600;color:var(--ink)}
  .area-head span{font-size:12px;color:var(--muted);line-height:1.35;font-weight:400}
  .area-head.on{background:var(--soft);box-shadow:inset 3px 0 0 var(--accent)}
  [dir=rtl] .area-head.on{box-shadow:inset -3px 0 0 var(--accent)}
  .area-head.on b{color:var(--accent)}
  nav.tabs .tab{text-align:start;border-bottom:0;border-radius:8px;padding:8px 12px 8px 22px;
    min-height:36px;font-size:14px;color:var(--muted)}
  [dir=rtl] nav.tabs .tab{padding:8px 22px 8px 12px}
  nav.tabs .tab:hover{background:var(--panel2);color:var(--ink)}
  nav.tabs .tab.active{background:var(--panel2);color:var(--accent);font-weight:600}
  nav.tabs .tab[data-area]{margin-inline-start:10px}
}
/* A side menu touched with a finger: every tab a full 44px. */
@media screen and (min-width:1000px) and (pointer:coarse){
  nav.tabs .tab{min-height:44px}
}

/* ON A PHONE, THE BAR AT THE BOTTOM. The five areas, always in reach of a thumb; the open
   area's tabs are the strip at the top. */
@media screen and (max-width:999px){
  .areabar{display:flex;position:fixed;inset-inline:0;bottom:0;z-index:60;background:var(--panel);
    border-top:1px solid var(--line);padding:4px 4px calc(4px + env(safe-area-inset-bottom))}
  .areabar button{flex:1 1 0;min-width:0;min-height:52px;background:none;border:0;
    color:var(--muted);font-size:12px;font-weight:600;padding:4px 2px;overflow-wrap:anywhere}
  .areabar button.on{color:var(--accent);box-shadow:inset 0 3px 0 var(--accent)}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  /* ROUND 264. What is brought into view (a tap, the keyboard, an error shown) stops above the
     bar, not behind it. */
  html{scroll-padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .show-name{font-size:16px}
}

/* ROUND 262 — ONLY THE OPEN AREA'S TABS. Everywhere: under the area's name in the side menu,
   in the strip at the top on a phone or a tablet. */
nav.tabs[data-open="today"] .tab:not([data-area="today"]),
nav.tabs[data-open="schedule"] .tab:not([data-area="schedule"]),
nav.tabs[data-open="money"] .tab:not([data-area="money"]),
nav.tabs[data-open="crew"] .tab:not([data-area="crew"]),
nav.tabs[data-open="travel"] .tab:not([data-area="travel"]){display:none}

/* ROUND 262 — THE TODAY SCREEN. */
.today{display:flex;flex-direction:column;gap:20px;margin:0 0 36px}
.today:empty{display:none}
.today .card{margin:0;min-width:0;overflow-wrap:anywhere;hyphens:auto}
.today-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px}
.today .label{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.today-title{margin:4px 0 2px;font-size:34px;font-weight:600;line-height:1.1}
.today-btns{display:flex;flex-wrap:wrap;gap:10px}
.today-btns button{min-height:44px}
.today-three{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:16px}
.today-three .card{padding:22px;display:flex;flex-direction:column;gap:8px;border-radius:14px}
.today .num{font-size:46px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;
  font-family:var(--font-display)}
.today .num.good{color:var(--good)} .today .num.warn{color:var(--warn)} .today .num.bad{color:var(--bad)}
.today .card.spot{background:var(--spot);color:var(--spotink);border-color:var(--spot)}
.today .card.spot .sub{color:var(--spotmuted)}
.today .card.spot a{color:var(--spotlink);font-weight:600}
.today .why summary{cursor:pointer;color:var(--accent);font-weight:600;font-size:14px;width:max-content}
.today .why p{margin:8px 0 0;font-size:14px;line-height:1.5;color:var(--muted);
  border-top:1px solid var(--line);padding-top:8px}
.today-todo{padding:0;overflow:hidden;border-radius:14px}
.today h3{margin:0;font-family:var(--font-display);font-size:20px;font-weight:600}
.today-todo h3{padding:16px 22px 8px}
.today-item{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:14px 22px;
  border-top:1px solid var(--line)}
.today-item .txt{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:3px}
.today-item .txt b{font-size:16px}
.today .dot{width:10px;height:10px;border-radius:5px;flex:0 0 10px}
.today .dot.sev0{background:var(--bad)} .today .dot.sev1{background:var(--warn)} .today .dot.sev2{background:var(--muted)}
.today .fix{min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--accent);
  background:var(--panel);color:var(--accent);font-weight:600;cursor:pointer}
.today-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:16px}
.today-two .card{padding:22px;display:flex;flex-direction:column;gap:14px;border-radius:14px}
.today-move{display:flex;gap:14px}
.today-move time{flex:0 0 72px;font-weight:600;font-variant-numeric:tabular-nums}
.today-move > div{display:flex;flex-direction:column;gap:3px;min-width:0}
.today-move .sub{overflow-wrap:anywhere}
.today .linkish{background:none;border:0;padding:0;color:var(--accent);font-weight:600;cursor:pointer;
  text-align:start;min-height:44px;width:max-content;display:inline-flex;align-items:center}
.today-bars{display:flex;flex-direction:column;gap:10px}
.today-bar{display:flex;align-items:center;gap:12px;font-size:14px}
.today-bar .d{flex:0 0 44px;color:var(--muted)}
.today-bar.is-day .d{color:var(--ink);font-weight:600}
.today-bar .t{flex:1;height:10px;border-radius:5px;background:var(--panel2);overflow:hidden}
.today-bar .f{display:block;height:10px;border-radius:5px}
.today-bar .f.good{background:var(--good)} .today-bar .f.warn{background:var(--warn)} .today-bar .f.bad{background:var(--bad)}
.today-bar .p{flex:0 0 44px;text-align:end;font-weight:600;font-variant-numeric:tabular-nums}
.today-empty{padding:22px;display:flex;flex-direction:column;gap:14px;align-items:flex-start;border-radius:14px}
.today-lead{margin:0;font-size:16px;max-width:60ch}
.board-title{margin-top:8px}
@media (max-width:700px){
  /* As in the design's phone: the day's answers first, the buttons after them. */
  .today-head{display:contents}
  .today-btns{order:10;width:100%}
  .today-btns button{flex:1 1 100%}
  .today-btns .go{order:-1;min-height:52px;font-size:16px}
  .today-title{font-size:28px}
  .today-three{grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:12px}
  .today-three .card{padding:16px}
  .today-three .card.spot{grid-column:1 / -1}
  .today .num{font-size:30px}
  .today-move time{flex-basis:60px}
}
@media print{ .today{display:none} }


/* ROUND 263 — SHOOT DAYS. The address advice folded, one tap away. */
.addr-why{margin:6px 0 14px}
.addr-why summary{cursor:pointer;width:max-content;max-width:100%}
.addr-why p{margin:8px 0 0;max-width:72ch}

/* ROUND 264 — THE SETTINGS ROW, FOLDED into Show settings: it wraps on its own lines there. */
.agr-panel #prod_base{flex-wrap:wrap !important;margin:10px 0 14px;row-gap:10px}

/* ROUND 264 — THE THREE QUESTIONS, as in the design. */
.setup{padding:28px 24px;display:flex;flex-direction:column;gap:14px;border-radius:14px;max-width:560px}
.setup-steps{display:flex;gap:6px}
.setup-steps i{flex:1;height:4px;border-radius:2px;background:var(--line)}
.setup-steps i.on{background:var(--accent)}
.setup-q{margin:0;font-family:var(--font-display);font-size:26px;font-weight:600;line-height:1.2}
.setup-opts{display:flex;flex-direction:column;gap:10px}
.setup .opt{min-height:52px;padding:0 18px;border-radius:12px;border:1px solid var(--line);
  background:var(--panel);color:var(--ink);font-size:16px;font-weight:600;text-align:start;cursor:pointer}
.setup .opt:hover{border-color:var(--accent);background:var(--soft)}
.setup-else{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.setup-else[hidden]{display:none}
.setup-else select,.setup-else input{display:block;margin-top:4px;min-height:40px;max-width:100%}
.setup-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:6px}
.setup-nav .linkish{margin-inline-start:auto}
.today .setup .linkish,.setup .linkish{background:none;border:0;padding:0 4px;color:var(--accent);font-weight:600;cursor:pointer;
  min-height:44px;display:inline-flex;align-items:center}
/* The example show, said plainly whenever it is what Today shows. */
.today-example{padding:12px 18px;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;
  border-inline-start:3px solid var(--warn);border-radius:12px}

/* ======================================================================================
   ROUND 265 — EVERY AREA IN THE DESIGN'S CLOTHES: Shoot Days, Money, Crew & Gear, Travel.
   The Today screen's look carried to every tab. Colours, type and sizes come from the same
   tokens, so light and dark follow; no control moves, so nothing a tab does changes.
   ====================================================================================== */
/* A page opens with its area's name over its title, as Today does. */
.panel-eyebrow{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);margin:4px 0 0}
.panel h2.panel-title{font-size:30px;font-weight:600;line-height:1.15;margin:2px 0 8px}
.panel .hint{line-height:1.5}
/* Cards: one radius, one border, room inside. */
.card,.panelbox,.importbox,.stat{border-radius:16px}
/* Not the Today screen's own cards, which are laid out as the design's; and the border's
   colour is left alone, so a card's warning or hazard stripe keeps its colour. */
section.panel:not(#today) .card,section.panel .panelbox{padding:20px 22px}
.importbox{padding:12px 18px;background:var(--panel)}
.panelbox h3{font-size:16px}
/* A form's fields sit in a card of their own, as the design's do. */
section.panel > .grid{background:var(--panel);border:1px solid var(--line);border-radius:16px;
  padding:20px 22px}
/* The big figures are set like the Today screen's. */
.stat .val{font-family:var(--font-display);font-weight:600;letter-spacing:-.02em}
.stat .lbl{letter-spacing:.06em}
/* Fields and buttons: one shape. */
input,select,textarea{border-radius:10px}
input:not([type=checkbox]):not([type=radio]),select,textarea{background:var(--panel)}
section.panel > .grid input:not([type=checkbox]):not([type=radio]),
section.panel > .grid select{background:var(--panel2)}
.go{border-radius:10px;font-weight:600}
.ghost,.add,.del{border-radius:10px}
.ghost{background:var(--panel)}
.add{border-style:solid}
/* Tables read like the design's lists: quiet headings, light rules. Not set in capitals: a
   heading copied out of a table, or read by a check, keeps its own words. */
th{font-size:12px;letter-spacing:.02em;font-weight:600}
/* The alert that the sweep is incomplete: said plainly, without a yellow wall over the work.
   A hazard (red) keeps its full weight. */
.alert-bar.warning{background:color-mix(in srgb,var(--warn) 14%,var(--panel));color:var(--ink);
  border-bottom:2px solid var(--warn);box-shadow:none}
.alert-bar.warning .alert-btn{background:var(--panel);color:var(--ink);border:1px solid var(--line)}
.alert-bar.warning .alert-btn:hover{border-color:var(--accent);color:var(--accent);background:var(--panel)}

@media (max-width:700px){
  .panel h2.panel-title{font-size:26px}
  section.panel > .grid,section.panel:not(#today) .card,section.panel .panelbox{padding:16px}
}

/* ROUND 271. Arabic is joined writing: spacing letters apart breaks the joins between them in
   some browsers, so an Arabic page drops the design's letter-spacing (tight headings, spaced
   small capitals) and keeps the face's own. */
:lang(ar) *, :lang(ar) *::before, :lang(ar) *::after{letter-spacing:normal !important}
/* ROUND 282. The same in India's scripts: a letter-spaced heading pulls a syllable's marks off
   its letter. Each page puts its own script first, so a sign the scripts share (the danda,
   ₹) is drawn in that script's face. Urdu is written in Nastaliq, which hangs well below the
   line and needs the room. */
:lang(hi) *, :lang(mr) *, :lang(bn) *, :lang(te) *, :lang(ta) *, :lang(gu) *, :lang(ur) *,
:lang(hi) *::before, :lang(mr) *::before, :lang(bn) *::before, :lang(te) *::before, :lang(ta) *::before, :lang(gu) *::before, :lang(ur) *::before,
:lang(hi) *::after, :lang(mr) *::after, :lang(bn) *::after, :lang(te) *::after, :lang(ta) *::after, :lang(gu) *::after, :lang(ur) *::after{letter-spacing:normal !important}
/* ROUND 285: buttons, inputs and menus take the browser's own font, not the page's, so on a device
   without an Indian-script font they drew Telugu (and Hindi, Bengali…) in whatever face the system had
   (here a bitmap font that left Telugu's vowel signs unjoined). In India's languages they use the page's
   stack, which carries the face CallTime ships for that script. Other languages are unchanged. */
:lang(hi) :is(button,input,select,textarea,optgroup), :lang(mr) :is(button,input,select,textarea,optgroup),
:lang(bn) :is(button,input,select,textarea,optgroup), :lang(te) :is(button,input,select,textarea,optgroup),
:lang(ta) :is(button,input,select,textarea,optgroup), :lang(gu) :is(button,input,select,textarea,optgroup),
:lang(ur) :is(button,input,select,textarea,optgroup){font-family:var(--font)}
:root:lang(bn){--indic:"Noto Sans Bengali","Noto Sans Devanagari","Noto Sans Telugu","Noto Sans Tamil","Noto Sans Gujarati"}
:root:lang(te){--indic:"Noto Sans Telugu","Noto Sans Devanagari","Noto Sans Bengali","Noto Sans Tamil","Noto Sans Gujarati"}
:root:lang(ta){--indic:"Noto Sans Tamil","Noto Sans Devanagari","Noto Sans Bengali","Noto Sans Telugu","Noto Sans Gujarati"}
:root:lang(gu){--indic:"Noto Sans Gujarati","Noto Sans Devanagari","Noto Sans Bengali","Noto Sans Telugu","Noto Sans Tamil"}
:root:lang(ur){--font:Inter,"Noto Nastaliq Urdu","IBM Plex Sans Arabic",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-display:"Space Grotesk",Inter,"Noto Nastaliq Urdu","IBM Plex Sans Arabic",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
:lang(ur) body{line-height:1.9}
/* ROUND 288: Nastaliq stands tall and hangs low, and every block that sets its own tighter
   line-height (the draft banner, the alert bar, the day heading, a card's title) stacked its
   Urdu lines into one another. In Urdu no line is tighter than 1.9. */
:lang(ur) body *{line-height:1.9 !important}

/* ROUND 293. JAPANESE. Every phone and computer sold in Japan carries a Japanese face (Hiragino on
   Apple devices, Yu Gothic and Meiryo on Windows, Noto Sans CJK on Android and Linux), so CallTime
   ships none: a Japanese face is several megabytes. Latin letters and figures stay in the design's
   own faces; the Japanese comes from the device's, named in the order Japanese sites use. No
   letter-spacing: spaced kana read as separate words. Headings, tabs and buttons break between
   phrases where the browser can (Chrome's auto-phrase), never in the middle of a word, and still
   wrap a phrase too long for a phone. */
:root:lang(ja){--jp:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI","Yu Gothic",YuGothic,Meiryo,"Noto Sans JP","Noto Sans CJK JP";
  --font:Inter,var(--jp),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-display:"Space Grotesk",Inter,var(--jp),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
:lang(ja) *, :lang(ja) *::before, :lang(ja) *::after{letter-spacing:normal !important}
:lang(ja) :is(button,input,select,textarea,optgroup){font-family:var(--font)}
:lang(ja) body{line-break:strict}
:lang(ja) :is(h1,h2,h3,h4,button,.tab,.alert-btn,label,th){word-break:auto-phrase;overflow-wrap:anywhere}

/* ROUND 295. KHMER, in Noto Sans Khmer, which CallTime ships: not every phone or computer has a
   Khmer face, and one without drew the letters unjoined, or as boxes. Latin letters and figures stay
   in the design's faces. No letter-spacing (it pulls a subscript consonant off its letter); buttons,
   inputs and menus use the page's stack; and taller lines, because Khmer stacks a consonant under
   another and vowels above and below. Words are not spaced in Khmer: the browser finds where a line
   may break. The alert bar's button is never narrower than its longest word. */
:root:lang(km){--font:Inter,"Noto Sans Khmer",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-display:"Space Grotesk",Inter,"Noto Sans Khmer",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
:lang(km) *, :lang(km) *::before, :lang(km) *::after{letter-spacing:normal !important}
:lang(km) :is(button,input,select,textarea,optgroup){font-family:var(--font)}
:lang(km) body{line-height:1.8}
:lang(km) .alert-bar .alert-btn{min-width:min-content}

/* ROUND 344. HEBREW, in Noto Sans Hebrew, which CallTime ships (a phone or computer without a
   Hebrew face falls back to whatever it has). Latin letters and figures stay in the design's faces.
   The page is right to left, as Arabic's. No letter-spacing (Hebrew isn't tracked); buttons, inputs
   and menus use the page's stack. */
:root:lang(he){--font:Inter,"Noto Sans Hebrew",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-display:"Space Grotesk",Inter,"Noto Sans Hebrew",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
:lang(he) *, :lang(he) *::before, :lang(he) *::after{letter-spacing:normal !important}
:lang(he) :is(button,input,select,textarea,optgroup){font-family:var(--font)}
:lang(he) .alert-bar .alert-btn{min-width:min-content}

/* ROUND 275 — "We wrapped", tomorrow's call, and each department's wrap-out. */
.today-wrap, .today-call{display:flex;flex-direction:column;gap:6px}
.today-wrap .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.today-wrap label{display:flex;flex-direction:column;gap:2px;min-width:0}
.today-wrap input{max-width:100%}
/* ROUND 334: the cast's Exhibit G card, laid out as the wrap card is */
.today-cast{display:flex;flex-direction:column;gap:6px}
.today-cast .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.today-cast label{display:flex;flex-direction:column;gap:2px;min-width:0}
.today-cast label.pick{flex-direction:row;align-items:center;gap:6px}
.today-cast input,.today-cast select{max-width:100%}
.today-cast .exg-row{border:1px solid var(--line);border-radius:8px;padding:8px 10px;margin:0;display:flex;flex-direction:column;gap:8px;min-width:0}
.today-cast .exg-row legend{font-weight:600;padding:0 4px}
.tw-made{border:0;padding:0;margin:4px 0;display:flex;flex-wrap:wrap;gap:12px}
.tw-made legend{padding:0;margin-bottom:4px}
.tw-made .pick{flex-direction:row;align-items:center;gap:6px}
.today-call-btns{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0}
.wrap-out{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:6px 12px;margin:6px 0}
.wrap-out label{display:flex;align-items:center;gap:6px;justify-content:space-between}
/* ROUND 276 — a department that wrapped out longer today. */
.tw-out summary{cursor:pointer;margin:4px 0}
